dex-swap-quote
ActiveTool of The Stall
Best-route DEX swap quote across 20+ chains via Li.Fi aggregator. Returns expected output, exchange rate, gas cost, price impact, and route (DEX/bridge names). Works for same-chain and cross-chain swaps. Use ETH/USDC/WBTC symbols or ERC-20 addresses. Chains: ethereum, base, polygon, arbitrum, optimism, bsc, avalanche, and more. $0.012/call — free upstream.
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"slippage": {
"type": "number",
"description": "Max slippage tolerance as a decimal (0.005 = 0.5%). Default 0.03 (3%)."
},
"to_chain": {
"type": "string",
"description": "Destination chain. Same as from_chain for same-chain swaps. Use chain name or ID."
},
"to_token": {
"type": "string",
"description": "Destination token — symbol or ERC-20 contract address."
},
"from_chain": {
"type": "string",
"description": "Source chain — name (ethereum, base, polygon, arbitrum, optimism, bsc, avalanche) or chain ID integer."
},
"from_token": {
"type": "string",
"description": "Source token — symbol (ETH, USDC, WBTC, USDT, MATIC, LINK) or ERC-20 contract address."
},
"from_amount": {
"type": "string",
"description": "Amount of source token to swap, in human-readable units (e.g. '0.1' for 0.1 ETH, '100' for 100 USDC). For unknown tokens, provide wei/smallest-unit string with '!' prefix (e.g. '!1000000')."
}
},
"additionalProperties": false
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
The Stall
1/7 registries