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.
Properties
Section titled “Properties”address
Section titled “address”address:
string
Defined in: account.ts:73
The token’s address (contract, mint) in the chain’s canonical form.
decimals
Section titled “decimals”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
Section titled “standard”standard:
string
Defined in: account.ts:75
erc20, spl or spl-token-2022.
symbol
Section titled “symbol”symbol:
string
Defined in: account.ts:79
As the token reports it (may be empty).
totalSupply?
Section titled “totalSupply?”
optionaltotalSupply?:bigint
Defined in: account.ts:83
Total supply in base units, when the token reports it.