Quote a swap
quoteCompare every venue Stoa routes for this exact amount and return the route it would fill: amountOut (after Stoa's 2 bps fee), minOut for the slippage, price impact and the venues. Read-only.
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": {
"sellToken": "<sellToken>",
"buyToken": "<buyToken>",
"amount": "<amount>"
},
"name": "quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Network. Default robinhood. | |
| amount | Yes | Amount to sell, integer in the sell token's smallest unit (wei). 0.01 ETH = 10000000000000000. | |
| buyToken | Yes | Token to buy: a token address, or "native" for the gas token (ETH on Robinhood Chain, HYPE on Elysium). | |
| sellToken | Yes | Token to sell: a token address, or "native" for the gas token (ETH on Robinhood Chain, HYPE on Elysium). | |
| slippageBps | No | Max slippage in basis points. Default 50 (0.5%). |