v1 query

Returns smart contract calls on Ethereum, sorted by block timestamp time: caller address, timestamp time, block height, smart contract method name, address address, annotation, transaction hash and gas value.

By gaurav · saved 15 April 2025 · run 2 times · Bitquery API v1

What it returns

The query

query ($network: EthereumNetwork!, $address: String!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $fromBlock: Int) {
  ethereum(network: $network) {
    smartContractCalls(
      caller: {is: $address}
      date: {since: $from}
      height: {gt: $fromBlock}
      options: {asc: "block.timestamp.time", limit: $limit, offset: $offset}
    ) {
      wallet: caller {
        address
      }
      block {
        timestamp {
          time
        }
        height
      }
      smartContractMethod {
        name
      }
      smartContract {
        address {
          address
          annotation
        }
      }
      transaction {
        hash
      }
      gasValue
    }
  }
}

Similar queries