Skip to main content

Module token

Module token 

Source
Expand description

Token metadata types and built-in providers. Uses CAIP-19 keys (eip155:{chain}/erc20:{addr}) for cross-chain lookups.

Structsยง

CompositeDataProvider
Composite data provider that chains multiple providers, returning the first match.
StaticTokenSource
In-memory token source for testing.
TokenLookupKey
Normalized token lookup key (CAIP-19 style: eip155:{chain_id}/erc20:{address}).
TokenMeta
Token metadata.
WellKnownTokenSource
Well-known token source with embedded metadata for common tokens.