get_orderbook
The market's open (pending/active) limit orders on both sides of a token pair, largest first — liquidity you can rest against. For one wallet's own orders use list_orders instead.
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": {
"tokenA": "<tokenA>",
"tokenB": "<tokenB>"
},
"name": "get_orderbook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokenA | Yes | first token address of the pair (0x-hex) | |
| tokenB | Yes | second token address of the pair (0x-hex) |