litecoin output script

Returns 10 outputs on Bitcoin and Litecoin, where tx hash is 0eb381…bac8, sorted by output index: output index, output address address, annotation, value, output direction, pattern, output script type type and output script.

By Aparna Sridhar · saved 20 February 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
      outputScriptType {
        annotation
        pattern
        type
      }
      outputScript
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "litecoin",
  "hash": "0eb381091066a31aa306737012c76f03478f31da566bc1314a7e9f6ebbeebac8"
}

Similar queries