base dextrades
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-retenti
What it returns
- base
- quote
- block date
- block time
- timestamp
- currency ID
- currency name
- currency symbol
- pool address
- quote currency ID
- quote currency name
- quote currency symbol
- quote token address
- quote token name
- quote token symbol
- token address
- token name
- token symbol
- price
- price in USD
- side
- position
- weight
- market cap
- total supply
- fully diluted valuation USD
- trader address
- transaction header fee
- fee payer
- transaction header hash
Filters
- market network is Base
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/
#
query MyQuery {
Trading {
Trades(
where: {Pair: {Market: {Network: {is: "Base"}}}},
limit: {count: 20}
) {
Amounts {
Base
Quote
}
AmountsInUsd {
Base
Quote
}
Block {
Date
Time
Timestamp
}
Pair {
Currency {
Id
Name
Symbol
}
Pool {
Address
}
QuoteCurrency {
Id
Name
Symbol
}
QuoteToken {
Address
Name
Symbol
}
Token {
Address
Name
Symbol
}
}
Price
PriceInUsd
Side
Ranking {
Position
Weight
}
Supply {
MarketCap
TotalSupply
FullyDilutedValuationUsd
}
Trader {
Address
}
TransactionHeader {
Fee
FeePayer
Hash
}
}
}
}
Similar queries
- Elysium latest trades of one token (WHYPE) · Trading (all chains) · Trades
- Elysium DEX protocols by trade count · Trading (all chains) · Trades
- FOMO App: Trades per Day (Trading API) · Trading (all chains) · Trades
- save with commit · Trading (all chains) · Tokens