Function spl_token::instruction::amount_to_ui_amount
source · [−]pub fn amount_to_ui_amount(
token_program_id: &Pubkey,
mint_pubkey: &Pubkey,
amount: u64
) -> Result<Instruction, ProgramError>
Expand description
Creates an AmountToUiAmount
instruction