ETH 2.0

Returns the latest smart contract events on Ethereum, where smart contract address is 0x0000…05fa, date since 2022-01-01 and date till 2022-04-01: start of interval, smart contract event name, count, gas, gas price and gas value.

By RaMSyS · saved 2 April 2022 · Bitquery API v1

What it returns

Filters

The query

query ($from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum {
    smartContractEvents(
      options: {desc: "date.date"}
      smartContractAddress: {is: "0x00000000219ab540356cbb839cbe05303d7705fa"}
      date: {since: $from, till: $till}
    ) {
      date {
        date: startOfInterval(unit: day)
      }
      smartContractEvent {
        __typename
        name
      }
      times: count
      uniqueCallers: count(uniq: callers)
      transaction(txFrom: {}) {
        gas
        gasPrice
        gasValue
      }
    }
  }
}

Variables

{
   "from":"2022-01-01",
  "till":"2022-04-01"
}

Similar queries