new_address

Returns address stats and outputs on Bitcoin, where address is bc1q34…yy7c, output address is bc1q34…yy7c and input address is bc1q34…yy7c: balance, address address, annotation, inflows, inbound transactions, outflows, outbound transactions and 5 more fields.

By Oluwatomisin · saved 17 May 2023 · Bitquery API v1

What it returns

Filters

The query

query MyQuery($address: String) {
  bitcoin(network: bitcoin) {
    addressStats(address: {is: $address}) {
      address {
        balance
        address
        annotation
        inflows
        inboundTransactions
        outflows
        outboundTransactions
        uniqueDaysWithTransfers
        uniqueReceivers
        uniqueSenders
      }
    }
    inflows2: outputs(outputAddress: {is: $address}) {
      count
      value(calculate: sum)
    }
    outflows2: inputs(inputAddress: {is: $address}) {
      count
      value(calculate: sum)
    }
  }
}

Variables

{
  "address": "bc1q34aq5drpuwy3wgl9lhup9892qp6svr8ldzyy7c"
}

Similar queries