Skip to main content
Retrieve supported chains, tokens, and live USD prices using the SDK.

Chains

Tokens

Prices

Token prices are included when fetching balances:
For fetching prices without balances, use the GetTokenPrices API directly.

Combined Example

Build a chain/token selector with live prices:
The useAccount import below is from wagmi. Since 0xtrails@0.16.0, wagmi is opt-in — install @0xtrails/adapter-wagmi and configure wagmiAdapter to use wagmi hooks alongside Trails. See SDK Hooks.
For more details, see: