four meme - token ATH price

Historical data This query uses the realtime dataset (the default), which holds only a recent window - hours to days depending on the cube. For older data add a dataset to the top-level element: EVM(network: $network, dataset: $dataset, dataset: combined) archive full history combined archive + r

By gaurav · saved 16 October 2025 · run 36 times · Bitquery API v2

What it returns

Filters

The query

# Historical data
#   This query uses the realtime dataset (the default), which holds only a
#   recent window - hours to days depending on the cube.
#
#   For older data add a dataset to the top-level element:
#
#     EVM(network: $network, dataset: $dataset, dataset: combined)
#
#     archive   full history
#     combined  archive + realtime in one result
#
#   Archive and combined need the historical data add-on:
#   https://bitquery.io/pricing
#
# Datasets:  https://docs.bitquery.io/docs/graphql/dataset/archive/
# Retention: https://docs.bitquery.io/docs/graphql/data-coverage-retention/
#

query tradingView($network: evm_network, $dataset: dataset_arg_enum, $token: String) {
  EVM(network: $network, dataset: $dataset) {
    DEXTradeByTokens(
      limit: {count: 1}
      where: {Block: {Date: {since: "2025-10-10"}}, TransactionStatus: {Success: true}, Trade: {Side: {Currency: {SmartContract: {is: "0x"}}}, Currency: {SmartContract: {is: $token}}, Success: true}}
    ) {
      max: quantile(of: Trade_PriceInUSD, level: 0.98)
      Block {
        Time
      }
    }
  }
}

Variables

{
  "network": "bsc",
  "token": "0xe59ecb01d56a7f1e66276c1bc885d64c92614444",
  "dataset": "combined",
  "local": "EVM",
  "interval": 60
}

Similar queries