Most-Traded-Tokens-on-Aerodome-Last-Month

Historical data This query already reads history - it uses the archive 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:/

By Kshitij Mahajan · saved 10 July 2024 · run 10 times · Bitquery API v2

What it returns

Filters

The query

# Historical data
#   This query already reads history - it uses the archive 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(dataset: archive, network: base) {
    DEXTradeByTokens(
      limit: {count: 10}
      where: {Block: {Time: {after: "2024-06-10T00:00:00Z", before: "2024-07-10T00:00:00Z"}}, Trade: {Dex: {OwnerAddress: {is: "0x420dd381b31aef6683db6b902084cb0ffece40da"}}}}
      orderBy: {descendingByField: "count"}
    ) {
      Trade {
        Currency {
          Name
          SmartContract
        }
      }
      count
    }
  }
}

Similar queries