Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
What This Skill Does
Enables cross-chain token bridging and swapping through the LI.FI aggregator API. Routes transfers across 30+ bridges and DEXs to find optimal rates and paths. Supports 15+ chains including Ethereum, Polygon, Arbitrum, Base, BSC, Avalanche, and Solana.
Aggregates 30+ bridges and DEXs into a single API call, eliminating the need to check each protocol separately for rates and availability.
When to use it
- Bridge ETH from Ethereum to Arbitrum for lower transaction fees
- Swap USDC from Polygon to Base before using a DeFi protocol
- Compare bridge routes before moving a large token amount
- Track a cross-chain transaction until it finalizes on the destination chain
- Move stablecoins between chains to access better yield rates
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Bridge 0.1 ETH from Ethereum to USDC on Polygon
- 1Call /quote with fromChain=1, toChain=137, fromToken=ETH, toToken=USDC, fromAmount=100000000000000000
- 2Parse the returned route for estimated output amount, gas cost, and selected bridge protocol
- 3Confirm no ERC-20 spending approval is needed since the source token is native ETH
- 4Sign and broadcast the transactionRequest object from the quote response
- 5Poll /status with the transaction hash until the bridge reports completion
0.1 ETH bridged to approximately 198 USDC on Polygon via Stargate, confirmed in 6 minutes
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.