share

Returns 10 outputs on Bitcoin and Dogecoin, where tx hash is b2f299…8d75, sorted by output index: output index, output address address, annotation, value and output direction.

By Mike · saved 5 March 2024 · run 1 time · 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": "dogecoin",
  "hash": "b2f299090805f1d4c772c057a08ef07d703450d0d1ece9fb03f73b9185378d75"
}

Similar queries