gill

amountToUiAmountForScaledUiAmountMintWithoutSimulation

function amountToUiAmountForScaledUiAmountMintWithoutSimulation(
   amount, 
   decimals, 
   multiplier): string;

Convert amount to UiAmount for a mint with scaled UI amount extension

Parameters

ParameterTypeDescription
amountbigintAmount of tokens to be converted
decimalsnumberNumber of decimals of the mint
multipliernumberMultiplier to scale the amount

Returns

string

Scaled UI amount as a string

On this page