Integrate Cross-chain Swap
Cross-chain swap exchanges tokens on one chain for tokens on another, or transfers assets across chains. When fromChain != toChain, you are in a cross-chain scenario. The process is split into steps; Bitget Wallet handles the full order lifecycle, and integrators submit signed transactions via API without maintaining order state.
Set {API_HOST} to the production base URL in Authentication. Prepend it to the paths below when sending requests.
Integration Flow
- Get Quote — Call
/bgw-pro/swapx/order/getSwapPricefor estimated output and fees - Create Order — Call
/bgw-pro/swapx/order/makeSwapOrderto create an order and receive transaction data - Sign Transaction — Completed on the integrator side (e.g., self-hosted wallet / custodial signing)
- Submit Order — Call
/bgw-pro/swapx/order/submitSwapOrderwith the signed transaction - Monitor Status — Poll
/bgw-pro/swapx/order/getSwapOrderto track completion - Check reconciled fees (optional) — Call
/bgw-pro/swapx/order/checkOrdersFeeto batch-query reconciled fees
Characteristics
- Bitget Wallet handles the complete order lifecycle
- Integrators do not need to maintain order state
- Supported capabilities: Cross-chain swap, NoGas
API Reference
Related Docs
Last updated on


