| name | orbiter-bridge-quote |
| description | Get a cross-chain quote and optimal route with fees and steps. |
Orbiter Bridge Quote
Get a cross-chain quote and optimal route. This is the first step for "one-click" cross-chain onboarding.
When to Use
- The user wants to send a token from chain A to chain B
- You need fee breakdowns, ETA, or routing selection
Inputs
sourceChainId (string)
destChainId (string)
sourceToken (string)
destToken (string)
amount (string)
userAddress (string)
targetRecipient (string)
slippage (number, optional)
feeConfig (object, optional)
channel (string, optional)
Outputs
fees
steps (may include approve, swap, and bridge depending on route)
details
Recommended Flow
orbiter_chains (optional)
orbiter_tokens (optional)
orbiter_bridge_quote
orbiter_bridge_tx (optional)
- Client-side signing
orbiter_tx_simulate
orbiter_tx_broadcast
orbiter_transaction
Fast Path
- Use
orbiter_bridge_flow to get quote + signableTx + approve + simulate in one call
- Use
orbiter_sign_template to generate a signable transaction template
- Use
orbiter_sign_broadcast to sign and broadcast in one step
CLI Example
orbiter bridge quote \
--source-chain 42161 \
--dest-chain 8453 \
--source-token 0x0000000000000000000000000000000000000000 \
--dest-token 0x0000000000000000000000000000000000000000 \
--amount 300000000000000 \
--user 0xabc... \
--recipient 0xabc...