Function spl_token::instruction::transfer_checked [−][src]
pub fn transfer_checked(
token_program_id: &Pubkey,
source_pubkey: &Pubkey,
mint_pubkey: &Pubkey,
destination_pubkey: &Pubkey,
authority_pubkey: &Pubkey,
signer_pubkeys: &[&Pubkey],
amount: u64,
decimals: u8
) -> Result<Instruction, ProgramError>
Creates a TransferChecked
instruction.