Latest USD Price of a Token on Matic
Streams DEX trades on Polygon as they happen, where buy currency smart contract is 0xc213…8e8f: block number, block time, from, to, transaction hash, buy amount, buy buyer and 14 more fields.
What it returns
- block number
- block time
- from
- to
- transaction hash
- buy amount
- buy buyer
- buy currency name
- buy currency symbol
- buy smart contract
- buy seller
- buy price
- buy price in USD
- sell amount
- sell buyer
- sell currency name
- sell smart contract
- sell currency symbol
- sell seller
- sell price
- price asymmetry
Filters
- buy currency smart contract is 0xc213…8e8f
The subscription
subscription {
EVM(network: matic) {
buyside: DEXTrades(
where: {Trade: {Buy: {Currency: {SmartContract: {is: "0xc2132d05d31c914a87c6611c10748aeb04b58e8f"}}}}}
) {
Block {
Number
Time
}
Transaction {
From
To
Hash
}
Trade {
Buy {
Amount
Buyer
Currency {
Name
Symbol
SmartContract
}
Seller
Price
PriceInUSD
}
Sell {
Amount
Buyer
Currency {
Name
SmartContract
Symbol
}
Seller
Price
}
PriceAsymmetry(selectWhere: {lt: 1})
}
}
}
}
Similar queries
- Real time trades for uniswap v4 magic · Polygon · DEXTrades
- polygon trade streaming · Polygon · DEXTrades
- Usd price in mempool in matic · Polygon · DEXTrades
- WMATIC subscription · Polygon · DEXTrades
- Price of a AVAX in terms of WMATIC on matic · Polygon · DEXTrades