Function spl_token_2022::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