Cross chain quote
cross_chain_quoteLive multichain bridge and swap quote via LI.FI across supported EVM & Solana chains (with custom routing notes for X1 and Arc): estimated output USD, total fees, duration, execution steps, and unsigned tx when fromAddress is supplied. $0.003 per call over x402 (USDC on Arc, Base or Solana, or XNT on X1). Call once without payment for the terms, sign them with your own wallet, call again with payment.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"fromChain": "<fromChain>",
"toChain": "<toChain>",
"fromToken": "<fromToken>",
"toToken": "<toToken>",
"amount": "<amount>"
},
"name": "cross_chain_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | exact input amount in atomic base units (e.g. 10000000 = 10 USDC) | |
| payment | No | a signed x402 payment (the base64 payload you would put in PAYMENT-SIGNATURE). Pass it and the purchase completes inside this tool call. | |
| toChain | Yes | destination chain slug or ID (e.g. base, arbitrum, optimism, polygon, solana, arc, x1) | |
| toToken | Yes | destination token symbol or contract/mint address | |
| slippage | No | optional max fractional slippage (0.0001 to 0.5, default 0.005) | |
| fromChain | Yes | source chain slug or ID (e.g. ethereum, base, arbitrum, optimism, polygon, bnb, solana, arc, x1) | |
| fromToken | Yes | source token symbol (e.g. USDC, ETH, SOL) or contract/mint address | |
| toAddress | No | optional recipient wallet (EVM 0x or Solana base58) | |
| fromAddress | No | optional sender wallet (EVM 0x or Solana base58) to generate unsigned transactionRequest |