smart contract tx

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

By gaurav · saved 30 August 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: null, till: null}
      smartContractAddress: {is: "0x2d4ee064ebb491b1e6db6ea1962db59d1d0e0741"}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      smartContractMethod {
        name
        signatureHash
      }
      address: caller {
        address
        annotation
      }
      transaction {
        hash
        txFrom {
          address
        }
      }
      amount
      gasValue
      external
    }
  }
}

Similar queries