Function spl_token::instruction::ui_amount_to_amount
source ยท pub fn ui_amount_to_amount(
token_program_id: &Pubkey,
mint_pubkey: &Pubkey,
ui_amount: &str,
) -> Result<Instruction, ProgramError>
Expand description
Creates a UiAmountToAmount
instruction