WEPE Historical Data

Returns 10 DEX trades by token on Ethereum, where currency smart contract is 0xccb3…bf10, block time after 2025-01-01 and block time before 2025-02-28: block time, sum of trade amount, currency name and price in USD.

By Daniel Koffler · saved 1 March 2025 · run 2 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(network: eth, dataset: archive) {
    DEXTradeByTokens(
      limit: {count: 10}
      where: {Block: {Time: {after: "2025-01-01T00:00:00Z", before: "2025-02-28T23:59:59Z"}}, Trade: {Currency: {SmartContract: {is: "0xccb365d2e11ae4d6d74715c680f56cf58bf4bf10"}}}}
    ) {
      Block {
        OHLC_interval: Time(interval: {in: minutes, count: 1})
      }
      volume: sum(of: Trade_Amount)
      Trade {
        Currency {
          Name
        }
        PriceInUSD
      }
    }
  }
}

Similar queries