interface TransferOptions {
    amount: bigint;
    from: string;
    network: Network | Connection;
    to: string;
    token: string;
}

Properties

amount: bigint

The amount to transfer, represented as an atomic unit of the token.

from: string

The base58 encoded Solana address of the source account.

network: Network | Connection

The network to use which will be used to create a Connection, otherwise a Connection can be provided.

to: string

The base58 encoded Solana address of the destination account.

token: string

The token to transfer, or mint address of the SPL token to transfer.