get_best_venue
Compare DEX venues by buy and sell prices, cross-venue spread, and fee-adjusted arbitrage spread for smart order routing.
Instructions
Which DEX is cheapest to buy on and which pays most to sell into, with the cross-venue spread in bps and a fee-adjusted arbitrage spread. Smart order routing data.
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": {
"pair": "<pair>"
},
"name": "get_best_venue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair | Yes | Pair as SYM/SYM. | |
| chain | No | Chain to query. Defaults to bsc. |