Interface TransferFeeConfig

Transfer fee extension data for mints.

interface TransferFeeConfig {
    newerTransferFee: TransferFee;
    olderTransferFee: TransferFee;
    transferFeeConfigAuthority: PublicKey;
    withdrawWithheldAuthority: PublicKey;
    withheldAmount: bigint;
}

Properties

newerTransferFee: TransferFee

Newer transfer fee, used if the current epoch >= newerTransferFee.epoch

olderTransferFee: TransferFee

Older transfer fee, used if the current epoch < newerTransferFee.epoch

transferFeeConfigAuthority: PublicKey

Optional authority to set the fee

withdrawWithheldAuthority: PublicKey

Withdraw from mint instructions must be signed by this key

withheldAmount: bigint

Withheld transfer fee tokens that have been moved to the mint for withdrawal

Generated using TypeDoc