Skip to content

~~Function: getSolanaTokenDecimals()~~

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / getSolanaTokenDecimals

getSolanaTokenDecimals(symbol): number

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:15168

Get token decimals from symbol (Solana-specific, legacy)

string

number

Use getTokenDecimals(symbol, 'solana') from the main SDK export which throws on unknown tokens instead of silently returning 9.