- Bridge SolvBTC from BNB Chain to Base using Chainlink CCIP
- Check SolvBTC balance on Base after successful bridge completion
- Swap bridged SolvBTC to native ETH using Enso’s routing
Use the GET
/ccip/router API to get the CCIP Router address for the primaryAddress parameter.ccipBridgeWithCallback.ts
- CCIP only supports ERC20 tokens - native token bridging is not available
- Callback data limit is approximately 30KB, allowing for complex post-bridge operations
- The callback gas limit ranges from 200k (default) to 3M (max)
- CCIP fees are paid in native token (wrapped)
- If callback execution fails, tokens are sent to
refundReceiver(defaults toreceiver)
Without Callback (Simple Transfer)
For simple cross-chain transfers without post-bridge execution:ccipSimpleTransfer.ts
Resources
- Crosschain Routing Guide - Complete guide to crosschain operations
- Bridge Action Reference - Technical details on bridge parameters
- Bundle Actions Guide - Creating complex multi-step transactions
Updated
