BitPoly
Streams the latest 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, block number, block hash, transaction hash, transaction index, from, to and 23 more fields.
What it returns
- block time
- block number
- block hash
- transaction hash
- transaction index
- from
- to
- owner address
- protocol family
- protocol name
- smart contract
- 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 decimals
- side ids
- side order ID
- currency symbol
- currency name
- decimals
- ids
- order ID
- buyer
- seller
Filters
- side currency smart contract is 0x2791…4174, 0x3c49…3359 or 3 more
- DEX protocol name is polymarket
The subscription
subscription PolymarketAllCurrenciesPerBlock {
EVM(network: matic) {
DEXTradeByTokens(
orderBy: { descending: Block_Time }
where: {
TransactionStatus: { Success: true }
Trade: {
Side: {
Currency: {
SmartContract: {
in: [
"0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359",
"0xc2132d05d31c914a87c6611c10748aeb04b58e8f",
"0x7ceb23fd6bc0add59e62ac25578270cff1b9f619",
"0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270"
]
}
}
}
Dex: { ProtocolName: { is: "polymarket" } }
}
}
) {
Block {
Time
Number
Hash
}
Transaction {
Hash
Index
From
To
}
Trade {
Dex {
OwnerAddress
ProtocolFamily
ProtocolName
SmartContract
}
AmountInUSD
Amount
PriceInUSD
Side {
Type
Amount
AmountInUSD
Currency {
Symbol
SmartContract
Name
Decimals
}
Ids
OrderId
}
Currency {
Symbol
SmartContract
Name
Decimals
}
Ids
OrderId
Buyer
Seller
}
}
}
}
Similar queries
- Polymarket: Neg Risk CTF Exchange contract -- TokenRegistered Event · Polygon · DEXTradeByTokens
- polymarket trades stream · Polygon · DEXTradeByTokens
- mempool stream polymarket trades in real-time · Polygon · DEXTradeByTokens
- stream polymarket trades in real-time · Polygon · DEXTradeByTokens
- Get realtime price of WETH in USD on matic · Polygon · DEXTradeByTokens