Skip to content

TransferArgs

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

Arguments for the transfer call.

amount: Tokens

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

The amount that the caller wants to transfer to the destination address.


created_at_time: [] | [TimeStamp]

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

The point in time when the caller created this request. If null, the ledger uses current IC time as the timestamp.


fee: Tokens

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

The amount that the caller pays for the transaction. Must be 10000 e8s.


from_subaccount: [] | [SubAccount]

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

The subaccount from which the caller wants to transfer funds. If null, the ledger uses the default (all zeros) subaccount to compute the source address. See comments for the SubAccount type.


memo: bigint

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

Transaction memo. See comments for the Memo type.


to: AccountIdentifier

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

The destination account. If the transfer is successful, the balance of this address increases by amount.