Get a market's trades
get_tradesTrades in a market, oldest first, paged by block. Call without fromBlock, then pass nextFromBlock while hasMore is true. complete means the list is final.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_trades"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Target trades per page, default 200 | |
| market | No | Market address from list_markets, or "latest" (default) | |
| fromBlock | No | nextFromBlock from the previous page |