golden badest

Bitcoin management wallet worker

Returns 10 outputs on Bitcoin, where tx hash is c05b57…d78b, sorted by output index: output index, output address address, annotation, value, output direction, block, transaction hash and transaction index.

By Golden Baddest · saved 14 January 2024 · Bitquery API v1

What it returns

Filters

The query

query ($network: BitcoinNetwork!, $hash: String!, $limit: Int!, $offset: Int!) {
  bitcoin(network: $network) {
    outputs(
      txHash: {is: $hash}
      options: {asc: "outputIndex", limit: $limit, offset: $offset}
    ) {
      outputIndex
      address: outputAddress {
        address
        annotation
      }
      value
      value_usd: value(in: USD)
      outputDirection
      transaction {
        block
        hash
        index
      }
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "bitcoin",
  "hash": "c05b5747db0d155d77ea03904a849888a5b49dad64e684137da46216ae37d78b"
}

Similar queries