gill
gill/programs/token/Type aliases

TransferCheckedWithFeeInstructionData

type TransferCheckedWithFeeInstructionData = {
  amount: bigint;
  decimals: number;
  discriminator: number;
  fee: bigint;
  transferFeeDiscriminator: number;
};

Properties

amount

amount: bigint;

The amount of tokens to transfer.


decimals

decimals: number;

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


discriminator

discriminator: number;

fee

fee: 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.


transferFeeDiscriminator

transferFeeDiscriminator: number;

On this page