Pools trade Latest trades for a token
Latest DEX trades for a pools.trade token on Robinhood Chain from the Trading cube. Note trade legs are duplicated roughly 2x - deduplicate before summing USD. From the Bitquery pools.trade API docs.
What it returns
- block time
- side
- price
- price in USD
- base
- quote
- trader address
- transaction header hash
- token address
- token symbol
- token name
- quote token address
- quote token symbol
- pool address
- protocol
- protocol family
- network
Filters
- token address is 0x6245…0c47
- market network is Robinhood
The query
# Historical data
# The Trading cube covers real time and roughly the last 30 days. For
# anything older, rebuild the same numbers from raw trades with
# DEXTradeByTokens.
#
# Datasets: https://docs.bitquery.io/docs/graphql/dataset/archive/
# Retention: https://docs.bitquery.io/docs/graphql/data-coverage-retention/
#
{
Trading {
Trades(
limit: {count: 50}
orderBy: {descending: Block_Time}
where: {
Pair: {
Token: {Address: {is: "0x6245e67affa44a23077f0ea7f981a8dc743a0c47"}}
Market: {Network: {is: "Robinhood"}}
}
}
) {
Block { Time }
Side
Price
PriceInUsd
Amounts { Base Quote }
AmountsInUsd { Base Quote }
Trader { Address }
TransactionHeader { Hash }
Pair {
Token { Address Symbol Name }
QuoteToken { Address Symbol }
Pool { Address }
Market { Protocol ProtocolFamily Network }
}
}
}
}
Similar queries
- Robinhood Chain Aero Slipstream latest trades · Trading (all chains) · Trades
- Robinhood Chain Aero Slipstream 24h volume, traders and pools · Trading (all chains) · Trades
- FOMO App: Trades per Day (Trading API) · Trading (all chains) · Trades
- save with commit · Trading (all chains) · Tokens