Skip to main content
An equity token account holds the raw amount. The app shows the user that amount scaled by the mint’s ScaledUiAmount multiplier.
1

Set Up

2

Fetch the Equity Mints

3

Read Each Mint's Token Program

4

Fetch the User's Equity Token Accounts

With jsonParsed encoding, the RPC returns the raw amount and a uiAmountString that already applies the mint’s current multiplier.
The app displays uiAmountString and passes the raw amount as the order endpoint’s amount to sell a full balance.
5

Compute the Scaled UI Amount from the Mint

The token program uses newMultiplier from newMultiplierEffectiveTimestamp onward and multiplier before it, and truncates the scaled amount before dividing by 10^decimals.