@midnight-ntwrk/wallet-api v3.4.2 • Readme | API
@midnight-ntwrk/wallet-api v3.4.2 / 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