Skip to content
docs

TokenInfo

Defined in: account.ts:71

What a chain package reads about a token from the chain itself, never from a list. symbol and name are whatever the token says about itself: anyone can deploy a token called “USDC”, so they never identify it — the address does.

address: string

Defined in: account.ts:73

The token’s address (contract, mint) in the chain’s canonical form.


decimals: number

Defined in: account.ts:77

Base-unit decimals.


flags: TokenFlag[]

Defined in: account.ts:85

Holder-relevant facts read from the chain; empty when none apply.


name: string

Defined in: account.ts:81

As the token reports it (may be empty).


standard: string

Defined in: account.ts:75

erc20, spl or spl-token-2022.


symbol: string

Defined in: account.ts:79

As the token reports it (may be empty).


optional totalSupply?: bigint

Defined in: account.ts:83

Total supply in base units, when the token reports it.