Subscription-for-Latest-Trades-for-AERO
Streams DEX trades by token on Base as they happen, where currency smart contract is 0x9401…8631 and trade amount in USD is above 0: block time, amount in USD, buyer, currency name, currency symbol, smart contract, price in USD and 7 more fields.
What it returns
- block time
- amount in USD
- buyer
- currency name
- currency symbol
- smart contract
- price in USD
- seller
- side currency name
- side currency symbol
- side smart contract
- protocol family
- protocol name
- transaction hash
Filters
- currency smart contract is 0x9401…8631
- trade amount in USD is above 0
The subscription
subscription {
EVM(network: base) {
DEXTradeByTokens(
where: {Trade: {Currency: {SmartContract: {is: "0x940181a94A35A4569E4529A3CDfB74e38FD98631"}}, AmountInUSD: {gt: "0"}, Success: true}}
) {
Block {
Time
}
Trade {
AmountInUSD
Buyer
Currency {
Name
Symbol
SmartContract
}
PriceInUSD
Seller
Side {
Currency {
Name
Symbol
SmartContract
}
}
Dex {
ProtocolFamily
ProtocolName
}
}
Transaction {
Hash
}
}
}
}
Similar queries
- base DexTradeByTokens · Base · DEXTradeByTokens
- Development Talk base query · Base · DEXTradeByTokens
- BASE ALL BUY · Base · DEXTradeByTokens
- new Base stream · Base · DEXTradeByTokens
- base all dextrades · Base · DEXTradeByTokens