gill

uiAmountToAmountForScaledUiAmountMintWithoutSimulation

function uiAmountToAmountForScaledUiAmountMintWithoutSimulation(
   uiAmount, 
   decimals, 
   multiplier): bigint;

Convert a UI amount back to the raw amount for a mint with a scaled UI amount extension

Parameters

ParameterTypeDescription
uiAmountstringUI Amount to be converted back to raw amount
decimalsnumberNumber of decimals for the mint
multipliernumberMultiplier for the scaled UI amount

Returns

bigint

Raw amount

On this page