Trans 748d0d2

Returns 10 inputs and outputs on Bitcoin, where tx hash is 748d0d…b5dc, sorted by output index: input index, input address address, value, block height, iso8601, output index, output address address and output direction.

By Francesco Gasparetto · saved 24 October 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) {
    inputs(
      txHash: {is: $hash}
      options: {asc: "inputIndex", limit: $limit, offset: $offset}
    ) {
      inputIndex
      address: inputAddress {
        address
      }
      value      
      block {
        height
        timestamp {
          iso8601
        }
      }
    } 
    outputs(
      txHash: {is: $hash}
      options: {asc: "outputIndex", limit: $limit, offset: $offset}
    ) {
      outputIndex
      address: outputAddress {
        address
      }
      value      
      block {
        height
        timestamp {
          iso8601
        }
      }
      outputDirection
    }
  }
}

Variables

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

Similar queries