AccountOperation.fromRpc
Converts a JSON-RPC account operation to its domain representation.
Imports
Named
import { AccountOperation } from 'ox/tempo'Examples
import { AccountOperation } from 'ox/tempo'
const operation = AccountOperation.fromRpc(value)Definition
function fromRpc<operation>(
operation: operation,
): fromRpc.ReturnValue<operation>Source: src/tempo/AccountOperation.ts
Parameters
operation
- Type:
operation
JSON-RPC account operation.
Return Type
The validated operation.
fromRpc.ReturnValue<operation>

