gill
gill/programs/token/Type aliases

TransferCheckedWithFeeInstructionDataArgs

type TransferCheckedWithFeeInstructionDataArgs = {
  amount: number | bigint;
  decimals: number;
  fee: number | bigint;
};

Properties

amount

amount: number | bigint;

The amount of tokens to transfer.


decimals

decimals: number;

Expected number of base 10 digits to the right of the decimal place.


fee

fee: number | bigint;

Expected fee assessed on this transfer, calculated off-chain based on the transfer_fee_basis_points and maximum_fee of the mint. May be 0 for a mint without a configured transfer fee.

On this page