spl_token_2022::extension::transfer_fee::instruction

Function set_transfer_fee

Source
pub fn set_transfer_fee(
    token_program_id: &Pubkey,
    mint: &Pubkey,
    authority: &Pubkey,
    signers: &[&Pubkey],
    transfer_fee_basis_points: u16,
    maximum_fee: u64,
) -> Result<Instruction, ProgramError>
Expand description

Creates a SetTransferFee instruction