base dextrades for a particular token
Streams DEX trades by token on Base as they happen, where currency smart contract is 0x9401…8631: block time, trade amount, amount in USD, buyer, currency symbol, smart contract, currency name and 13 more fields.
What it returns
- block time
- trade amount
- amount in USD
- buyer
- currency symbol
- smart contract
- currency name
- protocol name
- protocol family
- trade price
- price in USD
- seller
- side amount
- side amount in USD
- side buyer
- side currency symbol
- side smart contract
- side currency name
- side seller
- transaction hash
Filters
- currency smart contract is 0x9401…8631
The subscription
subscription MyQuery {
EVM(network: base) {
DEXTradeByTokens(
where: {Trade: {Currency: {SmartContract: {is: "0x940181a94A35A4569E4529A3CDfB74e38FD98631"}}}}
) {
Block {
Time
}
Trade {
Amount
AmountInUSD
Buyer
Currency {
Symbol
SmartContract
Name
}
Dex {
SmartContract
ProtocolName
ProtocolFamily
}
Price
PriceInUSD
Seller
Side {
Amount
AmountInUSD
Buyer
Currency {
Symbol
SmartContract
Name
}
Seller
}
}
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