Overview
The Trails SDK provides utilities to query supported chains and tokens across the network. These functions help you build dynamic UIs that adapt to available options.Edge Chains
Trails extends beyond EVM networks to edge chains — non-EVM ecosystems reached through edge rails. All alternative-VM chains are edge chains: funding from an edge-chain wallet settles into any supported EVM chain, and back, with Trails handling the cross-ecosystem routing. Edge chains are handled at the quote and execution layer —useQuote and useTrailsSendTransaction accept an edge chain anywhere they accept an EVM chain, and the Chain and Token types are chain-agnostic. Edge chains use their ecosystem-native chain IDs and address formats rather than EVM conventions. Not every hook is edge-aware: the chain/token list and balance utilities below are EVM-only. See Hooks → Edge chains for the exact per-hook support matrix and the edge execution model.
For the current list of supported edge chains and their tokens, see Supported Chains.
Chain Utilities
Fetching Supported Chains
As a hook (React):Getting Chain Information
Chain Type
Token Utilities
Fetching Supported Tokens
All tokens (hook):Token Type
The unifiedToken type is used throughout the SDK:
Practical Examples
Dynamic Chain and Token Selectors
Finding Token Address by Symbol
Checking Token Availability
See Also
- Supported Chains - Complete list of supported networks
- Hooks - Complete SDK hooks reference
- Configuration - Widget configuration options