Test SmartContract Events

Returns the latest argument on Ethereum and bsc_testnet, where smart contract address is 0xa2cb…0E1a: transaction hash, block height, argument name and argument type.

By Bhavesh · saved 24 March 2022 · run 2 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc_testnet) {
    arguments(
      smartContractAddress: {is: "0xa2cbB318d24250Bb17aAc79313ed937b32A40E1a"}
      options: {desc: "block.height", limit: 1}
    ) {
      transaction {
        hash
      }
      block {
        height
      }
      argument {
        name
        type
      }
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "bsc",
  "address": "0x662deccbc86b30d846e251ccde1a72c1f80483cd",
  "from": "2022-03-17",
  "till": "2022-03-24T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries