ık

Returns 10 smart contract calls on Ethereum, where smart contract address is 0x0c2e…f93a, date since 2018-10-01 and date till 2021-11-30, sorted by gas value, highest first: caller address, annotation, maximum of date, gas value and count.

By eo291536 · saved 28 November 2024 · Bitquery API v2

What it returns

Filters

The query

query ($network: EthereumNetwork!, $address: String!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    smartContractCalls(
      options: {desc: "gasValue", limit: $limit, offset: $offset}
      date: {since: $from, till: $till}
      smartContractAddress: {is: $address}
    ) {
      address: caller {
        address
        annotation
      }
      max_date: maximum(of: date)
      gasValue(calculate: sum)
      gas_value_usd: gasValue(in: USD, calculate: sum)
      count
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "ethereum",
  "address": "0x0c2e5989A972F2A2c41163Fb5aDBf097Fa92f93a",
  "nativeCurrency": "ETH",
  "from": "2018-10-01",
  "till": "2021-11-30T23:59:59",
  "dateFormat": "%Y-%m"
}

Similar queries