Skip to content

AccountOperation.from

Validates and normalizes an account operation.

Imports

Named
import { AccountOperation } from 'ox/tempo'

Examples

import { AccountOperation } from 'ox/tempo'
 
const operation = AccountOperation.from(value)

Definition

function from<operation>(
  operation: operation,
): from.ReturnValue<operation>

Source: src/tempo/AccountOperation.ts

Parameters

operation

  • Type: operation

Account operation.

Return Type

The validated operation.

from.ReturnValue<operation>