Bitcoin cash transaction outputs

Returns 10 outputs on Bitcoin and bitcash, where tx hash is 8d8580…0357, sorted by output index: output index, output address address, annotation, value and output direction.

By gaurav · saved 5 October 2023 · run 2 times · 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
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "bitcash",
  "hash": "8d8580a53d50f81d42da3bbbb2de31ec8efa334673d3c492fc89a7e51fdb0357"
}

Similar queries