Price of a AVAX in terms of WMATIC on matic
Streams DEX trades on Polygon as they happen, where sell currency smart contract is 0x2C89…286b and buy currency smart contract is 0x0d50…1270: block time, buy amount, buy buyer, buy seller, buy price, buy currency name, buy currency symbol and 14 more fields.
What it returns
- block time
- buy amount
- buy buyer
- buy seller
- buy price
- buy currency name
- buy currency symbol
- buy smart contract
- buy order ID
- sell amount
- sell buyer
- sell seller
- sell price
- sell currency symbol
- sell smart contract
- sell currency name
- sell order ID
- protocol family
- protocol name
- smart contract
- protocol version
Filters
- sell currency smart contract is 0x2C89…286b
- buy currency smart contract is 0x0d50…1270
The subscription
subscription {
EVM(network: matic) {
DEXTrades(
where: {Trade: {Sell: {Currency: {SmartContract: {is: "0x2C89bbc92BD86F8075d1DEcc58C7F4E0107f286b"}}}, Buy: {Currency: {SmartContract: {is: "0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270"}}}}}
) {
Block {
Time
}
Trade {
Buy {
Amount
Buyer
Seller
Price_in_terms_of_sell_currency: Price
Currency {
Name
Symbol
SmartContract
}
OrderId
}
Sell {
Amount
Buyer
Seller
Price_in_terms_of_buy_currency: Price
Currency {
Symbol
SmartContract
Name
}
OrderId
}
Dex {
ProtocolFamily
ProtocolName
SmartContract
ProtocolVersion
}
}
}
}
}
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
- Latest USD Price of a Token on Matic · Polygon · DEXTrades