SmartContract_Int/Ext Functions Called_TABLE

Returns 10 smart contract calls on Ethereum, where smart contract address is 0x3e7f…f892, sorted by count, highest first: smart contract method name, smart contract method signature, signature hash, count, gas value and maximum of date.

By Klino · saved 27 July 2022 · run 3 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!,
                        $address: String!,
                        $limit:Int,
                        $offset:Int,
                        $from: ISO8601DateTime,
                        $till: ISO8601DateTime){
                    ethereum(network: $network){
                      smartContractCalls(options:{
                        desc: "count",
                        limit:$limit, offset: $offset},
                        date: {since: $from till: $till },
                        smartContractAddress: {is: $address}) {

                        smartContractMethod {
                          name
                          signature
                          signatureHash
                        }

                        count
                        internal_count: count(external: false)
                        external_count: count(external: true)
                        senders: count(uniq:senders)
                        txs: count(uniq: txs)
                        gasValue(calculate:average)
                        gas_value_usd: gasValue(in: USD, calculate:average)
                        max_date:maximum(of: date)
                      }
                    }
                  }

Variables

{"limit":10,
  "offset":0,
  "network":"ethereum",
  "address":"0x3e7fc44e25c07be3d67c241e6e59cb838df2f892",
  "from": null,
  "till": null,
  "dateFormat":"%Y-%m-%d"}

Similar queries