Get Bridge Quote
get_bridge_quoteFetch a bridge quote through WalletChan's first-party Bungee proxy to estimate cross-chain token routes, amounts, and slippage before approving a transfer.
Instructions
Fetch a WalletChan bridge quote using the same first-party Bungee proxy as the extension.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Optional approved WalletChan sender. Defaults to first approved account. | |
| chain | No | Alias for originChain. | |
| 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. | |
| 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. | |
| slippageBps | No | Slippage in basis points. Defaults to 500 (5%). | |
| userAddress | No | Alias for from. | |
| tokenDecimals | No | Alias for decimals. | |
| inputAmountWei | No | Optional base-unit input amount as an integer string. | |
| receiverAddress | No | Optional destination receiver. Defaults to from. | |
| destinationChain | No | Alias for destinationChainId. | |
| destinationChainId | No | Destination chain ID. |