https://graphql.bitquery.io/ide/cardano_addr_stats_dec_29_2022

Returns outputs and inputs on Cardano, where output address is addr1z…5plm, input address is addr1z…5plm and initial address is addr1z…5plm: value, count, minimum of block, maximum of block, receiver address, receivers count and senders count.

By pablo · saved 3 January 2023 · run 5 times · Bitquery API v1

What it returns

Filters

The query

{
  cardano(network: cardano) {
    outputs(
      date: {since: "2000-01-01T00:00:00", till: "2022-12-30T10:26:36.164291"}
      outputAddress: {is: "addr1zxgx3far7qygq0k6epa0zcvcvrevmn0ypsnfsue94nsn3tvpw288a4x0xf8pxgcntelxmyclq83s0ykeehchz2wtspks905plm"}
    ) {
      inflows: value(calculate: sum, currency: {is: "ADA"})
      unique_senders: count(uniq: transactions)
    }
    inputs(
      date: {since: "2000-01-01T00:00:00", till: "2022-12-30T10:26:36.164291"}
      inputAddress: {is: "addr1zxgx3far7qygq0k6epa0zcvcvrevmn0ypsnfsue94nsn3tvpw288a4x0xf8pxgcntelxmyclq83s0ykeehchz2wtspks905plm"}
    ) {
      outflows: value(calculate: sum, currency: {is: "ADA"})
      unique_reciversers: count
      unique_recievers: count(uniq: addresses)
    }
    transactions(
      any: [{outputAddress: {is: "addr1zxgx3far7qygq0k6epa0zcvcvrevmn0ypsnfsue94nsn3tvpw288a4x0xf8pxgcntelxmyclq83s0ykeehchz2wtspks905plm"}}, {inputAddress: {is: "addr1zxgx3far7qygq0k6epa0zcvcvrevmn0ypsnfsue94nsn3tvpw288a4x0xf8pxgcntelxmyclq83s0ykeehchz2wtspks905plm"}}]
    ) {
      first_tx_at: minimum(of: block, get: time)
      last_tx_at: maximum(of: block, get: time)
      outbound_transactions: count(
        inputAddress: {is: "addr1zxgx3far7qygq0k6epa0zcvcvrevmn0ypsnfsue94nsn3tvpw288a4x0xf8pxgcntelxmyclq83s0ykeehchz2wtspks905plm"}
      )
      inbound_transactions: count(
        outputAddress: {is: "addr1zxgx3far7qygq0k6epa0zcvcvrevmn0ypsnfsue94nsn3tvpw288a4x0xf8pxgcntelxmyclq83s0ykeehchz2wtspks905plm"}
      )
      unique_days_with_transfers: count(uniq: dates)
    }
    inbound: coinpath(
      initialAddress: {is: "addr1zxgx3far7qygq0k6epa0zcvcvrevmn0ypsnfsue94nsn3tvpw288a4x0xf8pxgcntelxmyclq83s0ykeehchz2wtspks905plm"}
      depth: {lteq: 1}
      options: {direction: inbound}
      date: {since: "2000-01-01T00:00:00", till: "2022-12-30T10:26:36.164291"}
    ) {
      receiver {
        address
        unique_receivers: receiversCount
        unique_senders: sendersCount
      }
    }
  }
}

Similar queries