get_smartcontract_events

Returns 67 smart contract calls and smart contract events on Ethereum, where smart contract address is 0x9db9…425b: block height, iso8601, argument, arguments index, arguments value, argument type, call depth and 14 more fields.

By Francisco · saved 17 October 2023 · Bitquery API v1

What it returns

Filters

The query

query ($ini_ts: ISO8601DateTime, $end_ts: ISO8601DateTime, $smartcontract_address: String!) {
  ethereum(network: ethereum) {
    smartContractCalls(
      smartContractAddress: {is: $smartcontract_address}
      options: {limit: 67}
    ) {
      block(time: {since: $ini_ts, till: $end_ts}) {
        height
        timestamp {
          iso8601
        }
      }
      arguments {
        argument
        index
        value
        argumentType
      }
      callDepth
      smartContractMethod {
        name
        signature
        signatureHash
      }
      gasValue
      external
      smartContract {
        contractType
        protocolType
      }
      caller {
        address
        smartContract {
          contractType
        }
        annotation
      }
      count
    }
    smartContractEvents {
      arguments {
        argument
        argumentType
        index
        value
      }
      smartContractEvent {
        name
        signature
        signatureHash
      }
      smartContract {
        address {
          address
          annotation
        }
        contractType
        protocolType
        currency {
          name
        }
      }
    }
  }
}

Variables

{
  "ini_ts": "2023-06-01T00:00:00",
  "end_ts": "2023-06-25T00:00:00",
  "smartcontract_address": "0x9db9e0e53058c89e5b94e29621a205198648425b"
}

Similar queries