Get realtime price of WETH in USD on matic
Streams DEX trades by token on Polygon as they happen, where currency smart contract is 0x7ceB…f619: transaction hash, buyer, amount in USD, trade amount, trade price, price in USD, seller and 12 more fields.
What it returns
- transaction hash
- buyer
- amount in USD
- trade amount
- trade price
- price in USD
- seller
- currency name
- currency symbol
- smart contract
- protocol family
- protocol name
- side amount
- side amount in USD
- side buyer
- side seller
- side currency name
- side smart contract
- side currency symbol
Filters
- currency smart contract is 0x7ceB…f619
The subscription
subscription {
EVM(network: matic) {
DEXTradeByTokens(
where: {Trade: {Currency: {SmartContract: {is: "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619"}}}}
) {
Transaction {
Hash
}
Trade {
Buyer
AmountInUSD
Amount
Price
PriceInUSD
Seller
Currency {
Name
Symbol
SmartContract
}
Dex {
ProtocolFamily
SmartContract
ProtocolName
}
Side {
Amount
AmountInUSD
Buyer
Seller
Currency {
Name
SmartContract
Symbol
}
}
}
}
}
}
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