Smart contract calls api

Returns the latest 20 smart contract calls on Ethereum, where smart contract method is execTransaction and date after 2023-04-01: transaction hash and block height.

By gaurav · saved 23 May 2023 · run 1 time · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $limit: Int!) {
  ethereum(network: $network) {
    smartContractCalls(
      external: true
      smartContractMethod: {is: "execTransaction"}
      options: {limit: $limit, desc: "block.height"}
      date: {after: "2023-04-01"}
    ) {
      transaction {
        hash
      }
      block {
        height
      }
    }
  }
}

Variables

{
  "network": "ethereum",
  "limit": 20
}

Similar queries