gill

getAmountToUiAmountInstruction

function getAmountToUiAmountInstruction<TAccountMint, TProgramAddress>(input, config?): AmountToUiAmountInstruction<TProgramAddress, TAccountMint>;

Type Parameters

Type ParameterDefault type
TAccountMint extends string-
TProgramAddress extends AddressAddress<"TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb">

Parameters

ParameterType
inputAmountToUiAmountInput<TAccountMint>
config?{ programAddress?: TProgramAddress; }
config.programAddress?TProgramAddress

Returns

AmountToUiAmountInstruction<TProgramAddress, TAccountMint>

On this page