Trades for a specific trader
Returns the latest 50 prediction trades on Polygon: block time, signature name, smart contract, buyer, seller, outcome trade amount, collateral amount and 25 more fields.
What it returns
- block time
- signature name
- smart contract
- buyer
- seller
- outcome trade amount
- collateral amount
- collateral amount in USD
- order ID
- outcome trade price
- price in USD
- is outcome buy
- collateral token name
- collateral token symbol
- asset ID
- condition ID
- outcome token name
- outcome token symbol
- protocol version
- protocol name
- protocol family
- title
- resolution source
- image
- market ID
- question ID
- created at
- outcome ID
- outcome index
- label
- from
- transaction hash
The query
query MyQuery($trader:String) {
EVM(network: matic) {
PredictionTrades(
limit:{count:50}
orderBy:{descending:Block_Time}
where:{TransactionStatus:{Success:true} any:[{Trade:{OutcomeTrade:{Buyer:{is:$trader}}}},{Trade:{OutcomeTrade:{Seller:{is:$trader}}}}]}) {
Block {
Time
}
Call {
Signature {
Name
}
}
Log {
Signature {
Name
}
SmartContract
}
Trade {
OutcomeTrade {
Buyer
Seller
Amount
CollateralAmount
CollateralAmountInUSD
OrderId
Price
PriceInUSD
IsOutcomeBuy
}
Prediction {
CollateralToken {
Name
Symbol
SmartContract
AssetId
}
ConditionId
OutcomeToken {
Name
Symbol
SmartContract
AssetId
}
Marketplace {
SmartContract
ProtocolVersion
ProtocolName
ProtocolFamily
}
Question {
Title
ResolutionSource
Image
MarketId
Id
CreatedAt
}
Outcome {
Id
Index
Label
}
}
}
Transaction {
From
Hash
}
}
}
}
Variables
{
"trader": "0x101f2f96db1e39a9f36a1fa067751d541fd38e1a"
}
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