polymarket trades stream
Streams DEX trades by token on Polygon as they happen, where side currency smart contract is 0x2791…4174, 0x3c49…3359 or 3 more and DEX protocol name is polymarket: block time, transaction hash, owner address, protocol family, protocol name, amount in USD, trade amount and 14 more fields.
What it returns
- block time
- transaction hash
- owner address
- protocol family
- protocol name
- amount in USD
- trade amount
- price in USD
- side type
- side amount
- side amount in USD
- side currency symbol
- side smart contract
- side currency name
- side ids
- side order ID
- currency symbol
- smart contract
- currency name
- ids
- order ID
Filters
- side currency smart contract is 0x2791…4174, 0x3c49…3359 or 3 more
- DEX protocol name is polymarket
The subscription
subscription{
EVM(network: matic) {
DEXTradeByTokens(
where: {TransactionStatus: {Success: true},
Trade: {Side: {Currency: {SmartContract:
{in: ["0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359",
"0xc2132d05d31c914a87c6611c10748aeb04b58e8f",
"0x7ceb23fd6bc0add59e62ac25578270cff1b9f619",
"0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270"]}}},
Dex: {ProtocolName: {is: "polymarket"}}}}
) {
Block {
Time
}
Transaction {
Hash
}
Trade {
Dex {
OwnerAddress
ProtocolFamily
ProtocolName
}
AmountInUSD
Amount
PriceInUSD
Side {
Type
Amount
AmountInUSD
Currency {
Symbol
SmartContract
Name
}
Ids
OrderId
}
Currency {
Symbol
SmartContract
Name
}
Ids
OrderId
}
}
}
}
Similar queries
- Polymarket: Neg Risk CTF Exchange contract -- TokenRegistered Event · Polygon · DEXTradeByTokens
- mempool stream polymarket trades in real-time · Polygon · DEXTradeByTokens
- stream polymarket trades in real-time · Polygon · DEXTradeByTokens
- BitPoly · Polygon · DEXTradeByTokens
- Get realtime price of WETH in USD on matic · Polygon · DEXTradeByTokens