first 500 buyers of a specific BSC chain token
Historical data This query already reads history - it uses the combined dataset, which needs the historical data add-on for this chain. Without the add-on it fails with 'access restricted: your plan only allows realtime'. Drop the dataset argument to fall back to the recent window. Datasets: https:
What it returns
- block time
- sell buyer
- from
- transaction hash
Filters
- sell currency smart contract is 0x031b…Fa7f
The query
# Historical data
# This query already reads history - it uses the combined dataset, which
# needs the historical data add-on for this chain.
#
# Without the add-on it fails with 'access restricted: your plan only allows
# realtime'. Drop the dataset argument to fall back to the recent window.
#
# Datasets: https://docs.bitquery.io/docs/graphql/dataset/archive/
# Retention: https://docs.bitquery.io/docs/graphql/data-coverage-retention/
#
query MyQuery {
EVM(network: bsc dataset:combined) {
DEXTrades(
limit: {count: 500}
orderBy: {ascending: Block_Time}
limitBy:{count:1 by:Trade_Sell_Buyer}
where: {Trade: {Sell: {Currency: {SmartContract: {is: "0x031b41e504677879370e9DBcF937283A8691Fa7f"}}}}}
) {
Block {
Time
}
Trade {
Sell {
Buyer
}
}
Transaction{
From
Hash
}
}
}
}
Similar queries
- Latest DODO DEX swaps on BSC · BNB Chain · DEXTrades
- Top DODO liquidity pools by 24h volume on BSC · BNB Chain · DEXTrades
- trades · Ethereum · DEXTrades
- metric_v1_bsc · BNB Chain · DEXTrades
- bsc_tessera · BNB Chain · DEXTrades