Skip to main content

Module amount_to_ui_amount

Module amount_to_ui_amount 

Source
Expand description

This code was AUTOGENERATED using the Codama library.

Structsยง

AmountToUiAmount
Convert an Amount of tokens to a UiAmount string, using the given mint. In this version of the program, the mint can only specify the number of decimals. Fails on an invalid mint. Return data can be fetched using sol_get_return_data and deserialized with String::from_utf8.
AmountToUiAmountInstructionAccounts