spraay_bridge_quote
Retrieve cross-chain bridge quotes using LI.FI aggregator. Input source and destination chains, token, amount, and wallet address to get estimated output, fees, and execution time.
Instructions
Get a cross-chain bridge quote via LI.FI aggregator. Supports Base, Ethereum, Arbitrum, Polygon, BNB Chain, Avalanche, Optimism, and more. Returns estimated output, fees, and execution time. Costs $0.005 USDC.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | Token symbol to bridge (e.g. 'USDC', 'ETH') | |
| amount | Yes | Amount in smallest units (e.g. '1000000' for 1 USDC with 6 decimals) | |
| toChain | Yes | Destination chain name (e.g. 'ethereum', 'arbitrum', 'polygon') | |
| fromChain | Yes | Source chain name (e.g. 'base', 'ethereum', 'arbitrum', 'polygon') | |
| fromAddress | Yes | Sender wallet address on source chain |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the gateway call succeeded; false when it returned an error. | |
| data | No | The gateway response payload on success. The exact shape depends on the tool (see the tool description and the JSON in the text content block). | |
| error | No | Human-readable error message, present only when ok is false. |