Test-G new

Returns 20 smart contract events on Ethereum, where tx hash is 0x2050…9a58: event index, address address, annotation, contract type, protocol type, smart contract event name and signature hash.

By gaurav · saved 28 October 2021 · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $hash: String!, $limit: Int!, $offset: Int!) {
  ethereum(network: $network) {
    smartContractEvents(
      options: {limit: $limit, offset: $offset}
      txHash: {is: $hash}
    ) {
      eventIndex
      smartContract {
        address {
          address
          annotation
        }
        contractType
        protocolType
      }
      smartContractEvent {
        name
        signatureHash
      }
    }
  }
}

Variables

{
  "limit": 20,
  "offset": 0,
  "network": "ethereum",
  "hash": "0x205050715d5bda2ca9918fd081b8b589604172dc38975b8e934248f548289a58"
}

Similar queries