Trade quote
get_trade_quoteGet a live, read-only Uniswap V3 quote for swapping a token against USDC on Ethereum, including amounts, average price, price impact, premium, impact ladder, and pool fee.
Instructions
Live pre-trade quote for swapping a token against USDC on Uniswap V3 on Ethereum mainnet, read from the chain at the current block. Returns amount in/out, average price at this size, price impact vs a small trade, premium vs the reference (the listed share price for tokenized stocks, Chainlink ETH/USD for ETH, the Hyperliquid mid for other crypto it lists), an impact ladder at larger sizes and the pool fee. Ethereum gas is not included. Read-only: nothing is signed or sent.
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": {
"symbol": "<symbol>",
"side": "<side>",
"amount": "<amount>"
},
"name": "get_trade_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | buy = spend USDC for the token; sell = sell the token for USDC. | |
| amount | Yes | Size of the trade: USDC to spend for a buy, number of tokens for a sell. | |
| symbol | Yes | Ticker as Traivo lists it, e.g. NVDA, TSLA, SPY, ETH, WBTC. Case-insensitive. |