Function spl_token_2022::extension::transfer_fee::instruction::transfer_checked_with_fee
source ยท pub fn transfer_checked_with_fee(
token_program_id: &Pubkey,
source: &Pubkey,
mint: &Pubkey,
destination: &Pubkey,
authority: &Pubkey,
signers: &[&Pubkey],
amount: u64,
decimals: u8,
fee: u64,
) -> Result<Instruction, ProgramError>
Expand description
Create a TransferCheckedWithFee
instruction