data_get_trades
Fetch detailed trade rows for a specific wallet or market to analyze trade history and execution flow.
Instructions
Fetch trade rows for a wallet or market filter.
Use this tool when the user wants trade-level records rather than current holdings or general wallet activity. This is useful for detailed flow analysis and execution history.
Prefer this tool over get_activity when exact trade rows matter. Prefer
Gamma tools when you still need to discover the right market first.
The input can include a wallet address, a market filter, or both, depending on what the user already knows. A common next step is to summarize the trade flow or compare it with current positions.
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": {
"args": "<args>"
},
"name": "data_get_trades"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | Yes | Trade query arguments. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trades | No | ||
| count | Yes | Return the number of trades. Returns: int: Number of returned trades. |