bitcoin cash inputs

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

By gaurav · saved 5 October 2023 · run 1 time · Bitquery API v1

What it returns

Filters

The query

query ($network: BitcoinNetwork!, $hash: String!, $limit: Int!, $offset: Int!) {
  bitcoin(network: $network) {
    inputs(
      txHash: {is: $hash}
      options: {asc: "inputIndex", limit: $limit, offset: $offset}
    ) {
      inputIndex
      address: inputAddress {
        address
        annotation
      }
      value
      value_usd: value(in: USD)
    }
  }
}

Variables

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

Similar queries