WalletTrades EVM
Returns the latest 5000 prediction trades on Polygon, where marketplace protocol name is polymarket: block time, transaction hash, buyer, seller, outcome trade amount, collateral amount in USD, outcome trade price and 6 more fields.
What it returns
- block time
- transaction hash
- buyer
- seller
- outcome trade amount
- collateral amount in USD
- outcome trade price
- price in USD
- is outcome buy
- condition ID
- title
- market ID
- label
Filters
- marketplace protocol name is polymarket
The query
query WalletTrades($hoursAgo: Int!, $trader: String!) {
EVM(dataset: realtime, network: matic) {
PredictionTrades(
limit: {count: 5000}
orderBy: {descending: Block_Time}
where: {TransactionStatus: {Success: true}, Block: {Time: {since_relative: {hours_ago: $hoursAgo}}}, any: [{Trade: {OutcomeTrade: {Buyer: {is: $trader}}}}, {Trade: {OutcomeTrade: {Seller: {is: $trader}}}}], Trade: {Prediction: {Marketplace: {ProtocolName: {is: "polymarket"}}}}}
) {
Block {
Time
}
Transaction {
Hash
}
Trade {
OutcomeTrade {
Buyer
Seller
Amount
CollateralAmountInUSD
Price
PriceInUSD
IsOutcomeBuy
}
Prediction {
ConditionId
Question {
Title
MarketId
}
Outcome {
Label
}
}
}
}
}
}
Variables
{
"hoursAgo": 168,
"trader": "0xb55fa1296e6ec55d0ce53d93b9237389f11764d4"
}
Similar queries
- Polymarket Volume by Exchange Contract and Collateral · Polygon · PredictionTrades
- latest prediction market trades · Polygon · PredictionTrades
- activity of user · Polygon · PredictionTrades
- Polymarket Notional Volume, Taker Volume,Maker Volume · Polygon · PredictionTrades
- buys and sells of a wallet on polymarket · Polygon · PredictionTrades