Skip to main content

TokenTransfer

For the complete documentation index, see llms.txt

@midnight-ntwrk/wallet-api v5.0.0 • Readme | API


@midnight-ntwrk/wallet-api v5.0.0 / TokenTransfer

Type alias: TokenTransfer

type TokenTransfer: {
amount: bigint;
receiverAddress: Address;
type: TokenType;
};

Data for transferring tokens

Type declaration​

amount​

readonly amount: bigint;

Amount of transferred tokens

Remarks​

It is a non-negative integer, which represents the amount of tokens to be transferred. The smallest unit that can be transferred is 1.

receiverAddress​

readonly receiverAddress: Address;

Address of receiver

type​

readonly type: TokenType;

TokenType of transferred token