Skip to main content

ui_amount_to_amount

Function 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