Copy of For transaction collection

Returns the latest 10 smart contract calls on Ethereum and bsc_testnet, where caller is 0xb38c…6e55, smart contract address is 0x2d4e…0741 and smart contract method is c1917ff0: timestamp time, block height, smart contract method name, signature hash, caller address, annotation, transaction hash and 2 more fields.

By Sayon · saved 18 September 2021 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc_testnet) {
    smartContractCalls(
      options: {desc: "block.timestamp.time", limit: 10, offset: 0}
      date: {since: "2021-08-01", till: null}
      smartContractMethod: {is: "c1917ff0"}
      caller: {is: "0xb38c8c5815400cd0add3c8ab267840ef00f16e55"}
      smartContractAddress: {is: "0x2d4ee064ebb491b1e6db6ea1962db59d1d0e0741"}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      smartContractMethod {
        name
        signatureHash
      }
      address: caller {
        address
        annotation
      }
      transaction {
        hash
      }
      gasValue
      external
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "bsc_testnet",
  "address": "0x2d4ee064ebb491b1e6db6ea1962db59d1d0e0741",
  "from": null,
  "till": null,
  "dateFormat": "%Y-%m"
}

Similar queries