Skip to content

Operation

Operation = { Approve: { allowance: Tokens; allowance_e8s: bigint; expected_allowance: [] | [Tokens]; expires_at: [] | [TimeStamp]; fee: Tokens; from: AccountIdentifier; spender: AccountIdentifier; }; } | { Burn: { amount: Tokens; from: AccountIdentifier; spender: [] | [AccountIdentifier]; }; } | { Mint: { amount: Tokens; to: AccountIdentifier; }; } | { Transfer: { amount: Tokens; fee: Tokens; from: AccountIdentifier; spender: [] | [Uint8Array]; to: AccountIdentifier; }; }

Defined in: packages/canisters/src/declarations/ledger-icp/ledger.d.ts:222