Bridge
bridgeQuotes cross-chain token transfers, builds approval and execution calls, then submits them to WalletChan for popup approval unless previewOnly is true.
Instructions
Quote a WalletChan bridge, build needed approval plus bridge calls, and submit them to WalletChan for popup approval unless previewOnly is true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Optional approved WalletChan sender. Defaults to first approved account. | |
| chain | No | Alias for originChain. | |
| submit | No | Set false to return quote and prepared calls without submitting to WalletChan. | |
| decimals | No | Optional token decimals when inputToken is an address not in the token list. | |
| slippage | No | Bungee slippage percentage, e.g. 0.5. Overrides slippageBps. | |
| profileId | No | Alias for executionProfile. | |
| inputToken | Yes | Origin token address, symbol from the WalletChan/Bungee token list, or native/ETH. | |
| inputAmount | No | Decimal input amount in token units, e.g. 1.5. Use inputAmountWei for base units. | |
| originChain | No | Origin/source chain name or ID. Defaults to the active WalletChan RPC chain. | |
| outputToken | Yes | Destination token address, symbol from the WalletChan/Bungee token list, or native/ETH. | |
| previewOnly | No | If true, return quote and prepared calls without submitting to WalletChan. | |
| slippageBps | No | Slippage in basis points. Defaults to 500 (5%). | |
| userAddress | No | Alias for from. | |
| tokenDecimals | No | Alias for decimals. | |
| atomicRequired | No | Whether the WalletChan call batch must execute atomically. Defaults to true with automatic non-atomic fallback. | |
| inputAmountWei | No | Optional base-unit input amount as an integer string. | |
| receiverAddress | No | Optional destination receiver. Defaults to from. | |
| destinationChain | No | Alias for destinationChainId. | |
| executionProfile | No | Execution profile override. Use walletconnect for main WalletChan popup approval, agent:<walletId> for delegated 1Shot execution, or agent-eoa:<walletId> for raw local agent EOA execution. Defaults to the stored profile. | |
| destinationChainId | No | Destination chain ID. |