Predict.fun Market Trades
predictfun_market_tradesOne Predict.fun market's on-chain fills with the wallet behind each, newest first: ts (epoch ms), tx_hash, wallet, counterparty, role (maker/taker), side (BUY/SELL of token_id), outcome, size (shares), price (0-1), usd, fee. Returns {trades, next_cursor}. One row is one ORDER's fill, not one match: a match is a maker row per resting order hit plus one taker row for the order that took them (whose amounts are theirs added up), so add usd over ONE role, never both.
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": {
"market_id": "<market_id>"
},
"name": "predictfun_market_trades"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Rows (default 100, max 10000). | |
| cursor | No | A previous page's `next_cursor`, unchanged, to read the next page. | |
| market_id | Yes | The Predict.fun market id (`market_id` from predictfun_markets). Required. |