get_market_trades
Retrieve on-chain trade data for specific markets, including price, volume, and fee details for BUY/SELL transactions.
Instructions
Get trades for a specific market. Returns trade details with maker/taker, price, volume, and fees from on-chain 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": {
"conditionId": "<conditionId>"
},
"name": "get_market_trades"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| conditionId | Yes | Market conditionId | |
| first | No | Number of trades | |
| tradeType | No | Filter by trade type | |
| orderDirection | No | desc |