test_save
Streams 10 DEX trades by token on Polygon as they happen, where currency smart contract is 0x282d…a1a1, trade price asymmetry is below 0.5 and trade price in USD is above 0: block time, from and average of trade price in USD.
What it returns
- block time
- from
- average of trade price in USD
Filters
- currency smart contract is 0x282d…a1a1
- trade price asymmetry is below 0.5
- trade price in USD is above 0
The subscription
subscription ($network: evm_network, $currency: String) {
EVM(network: $network ) {
DEXTradeByTokens(
where: {Trade: {PriceAsymmetry: {lt: 0.5}, PriceInUSD: {gt: 0}, Currency: {SmartContract: {is: $currency}}}}
limit: {count: 10}
) {
Block {
Time
}
Transaction{
From
}
average(of: Trade_PriceInUSD)
}
}
}
Variables
{
"network": "matic",
"currency": "0x282d8efce846a88b159800bd4130ad77443fa1a1"
}
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
- BitPoly · Polygon · DEXTradeByTokens