contract gas top

Returns 10 smart contract calls on Ethereum, where date since 2023-12-05 and date till 2023-12-06, sorted by gas value, highest first: address address, annotation, gas value and count.

By Nitin Jakhar · saved 6 December 2023 · run 2 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    smartContractCalls(
      options: {desc: "gasValue", limit: $limit, offset: $offset}
      date: {since: $from, till: $till}
      external: true
    ) {
      smartContract {
        address {
          address
          annotation
        }
      }
      gasValue
      gas_value_usd: gasValue(in: USD)
      average: gasValue(calculate: average)
      average_usd: gasValue(in: USD, calculate: average)
      count
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "ethereum",
  "from": "2023-12-05T11:41:40.000Z",
  "till": "2023-12-06T11:41:40.999Z",
  "dateFormat": "%Y-%m-%d"
}

Similar queries