BSC dextrades for pancakeswap
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 address is 0x0bfb…1865
- market network is Binance Smart Chain
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: "Binance Smart Chain"},
Address: {is: "0x0bfbcf9fa4f9c56b0f40a671ad40e0805a091865"}}
}
}
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
- Trading API: Solana Trades with Transaction Hash · Trading (all chains) · Trades
- Elysium latest trades of one token (WHYPE) · Trading (all chains) · Trades
- FOMO App: Trades per Day (Trading API) · Trading (all chains) · Trades
- save with commit · Trading (all chains) · Tokens