pETH Hack on 30July

Returns DEX trades on Ethereum and BNB Chain, where base currency is 0x2e74…be8d, date since 2023-07-29 and date till 2023-08-01, sorted by amount, highest first: full name, base amount, base currency symbol and timestamp time.

By Divyasshree N · saved 2 August 2023 · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $token: String!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    dexTrades(
      options: {desc: "amount"}
      date: {since: $from, till: $till}
      baseCurrency: {is: $token}
    ) {
      exchange {
        fullName
      }
      amount: baseAmount
      baseCurrency {
        symbol
      }
      amount_usd: baseAmount(in: USD)
      currency: baseCurrency {
        symbol
      }
      block {
        timestamp {
          time
        }
      }
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "bsc",
  "token": "0x2e74ee4fc4466d0883ef5e12a0ce344bfe15be8d",
  "from": "2023-07-29",
  "till": "2023-08-01T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries