txn_count_

Returns transactions and address details on Ethereum and BNB Chain, where address is 0x45e7…2f89: count, attributes name and attributes type.

By Omkar_BQ · saved 7 November 2024 · run 11 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $address: String!) {
  ethereum(network: $network) {
    transactionCounts: transactions(
      any: [{txSender: {is: $address}}, {txTo: {is: $address}}]
    ) {
      spentTxCount: count(txSender: {is: $address})
      receivedTxCount: count(txTo: {is: $address})
    }
    contractDetails: address(address: {is: $address}) {
      smartContract {
        attributes {
          name
          type
        }
      }
    }
  }
}

Variables

{
  "network": "bsc",
  "address": "0x45e786ff2d3af84bd9809da1b1b49dd4e0cf2f89"
}

Similar queries