No transactions found
) : (No transactions found
) : (Processing...
} {result &&{result}
}Connect with Dynamic first.
} return (Connect a wallet first.
} return (Quoting…
if (quoteError) returnError: {quoteError.message}
return ( ) } ``` ## What's happening here * **Concrete amount** on the first action (`"0.1"`) splits off a fixed slice. **`dynamic()`** on subsequent actions consumes whatever the previous step produced — no need to predict slippage or bridge fees. See [Dynamic Values](/sdk/composable-actions/dynamic-values) for details. * Actions run **top-down** in the same destination batch. If any step reverts — including [`assertCondition(...)`](/sdk/composable-actions/building-actions#assertcondition-on-chain-guard) guards — the whole destination batch reverts atomically, so partial state is never left behind. * `tokenAmount` in `useTrailsSendTransaction` and `to.amount` in `useQuote` are human-readable decimal strings. The split into `0.1` + the rest happens inside the intent wallet on the destination chain. * `onStatusUpdate` fires as each hop lands — origin approval, bridge, destination batch — so you can wire it into a progress UI. ## Next steps * Explore different actions in [Building Actions](/sdk/composable-actions/building-actions). * Learn how `dynamic()` and `self()` work under the hood in [Dynamic Values](/sdk/composable-actions/dynamic-values). * Discover markets and providers with [Markets & Providers](/sdk/composable-actions/markets-and-providers). # Supported Chains Source: https://docs.trails.build/sdk/composable-actions/supported-chains Chain identifiers and swap provider coverage for composable actions ## Chain identifiers Chain identifiers are either **names** or **chain IDs**. The following names are accepted wherever a `ChainIdentifier` is expected (`useQuote`, the action builders, `useEarnMarkets`, `uniswapV3.onChain(...)`, …): ``` apechain, arbitrum, arbitrum-nova, avalanche, avalanche-c, b3, base, berachain, binance, bsc, bnb, etherlink, gnosis, hyperevm, katana, mainnet, ethereum, monad, optimism, polygon, soneium, somnia, sonic ``` Chain IDs (e.g. `8453` for Base, `42161` for Arbitrum) work interchangeably. # Configuration Source: https://docs.trails.build/sdk/configuration Complete configuration reference for the Trails SDK ## Focused components ### Shared props All focused components accept these optional props in addition to their mode-specific props. #### Appearance | Prop | Type | Default | Description | | - | - | - | - | | `theme` | `"light" \| "dark" \| "auto"` | `"auto"` | Color theme; `auto` follows system preference | | `customCss` | `string \| Record