All tools / Mint

Mint supply and decimals

Read raw supply and decimals straight from the mint account and convert a UI amount to base units.

Why not getTokenSupply

Supply comes from the parsed mint in getAccountInfo, so it works on public RPCs that block getTokenSupply. Interest-bearing and scaled-UI extensions are flagged because wallets then display a number that differs from the raw balance.