AddressStats + Failed+ Received

Returns address stats and transactions on Ethereum and BNB Chain, where address is 0x27d7…48d8, tx sender is 0x27d7…48d8 and tx to is 0x27d7…48d8: send tx count, receive tx count, other tx count, call tx count, called tx count and count.

By lukas · saved 6 July 2023 · run 1 time · Bitquery API v1

What it returns

Filters

The query

query Something($network: EthereumNetwork) {
  ethereum(network: $network) {
    addressStats(address: {is: "0x27d7a4dbe190d5d0bee88dd326dc38344e1f48d8"}) {
      address {
        sendTxCount
        receiveTxCount
        otherTxCount
        callTxCount
        calledTxCount
      }
    }
    from_tx_failed: transactions(
      txSender: {is: "0x27d7a4dbe190d5d0bee88dd326dc38344e1f48d8"}
      success: false
    ) {
      count
    }
    to_tx: transactions(
      txTo: {is: "0x27d7a4dbe190d5d0bee88dd326dc38344e1f48d8"}
    ) {
      count
    }
  }
}

Variables

{"network": "bsc"}

Similar queries