calls and unique callers of smart contract call

Returns 1000 arguments on Ethereum, where smart contract address is 0xb47e…3bbb, smart contract method is enterBidForPunk and argument is punkIndex: any of argument value and count.

By gaurav · saved 7 January 2022 · run 3 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $address: String!, $method: String!, $limit: Int, $offset: Int, $before: ISO8601DateTime) {
  ethereum(network: $network) {
    arguments(
      smartContractAddress: {is: $address}
      date: {before: $before}
      smartContractMethod: {is: $method}
      height: {gt: 1}
      options: {limit: $limit, offset: $offset}
      argument: {is: "punkIndex"}
    ) {
      punkIndex: any(of: argument_value, argument: {is: "punkIndex"})
      count
    }
  }
}

Variables

{
  "limit": 1000,
  "offset": 0,
  "network": "ethereum",
  "address": "0xb47e3cd837ddf8e4c57f05d70ab865de6e193bbb",
  "method": "enterBidForPunk",
  "before": "2021-12-31T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries