BTC_transactions

Returns inputs on Bitcoin, where tx hash is e43dcd…a7cc: block height, timestamp time, output transaction hash, output transaction index, transaction hash, transaction index, input index and 2 more fields.

By Naz · saved 30 January 2023 · run 8 times · Bitquery API v1

What it returns

Filters

The query

query ($network: BitcoinNetwork!, $block: Int!) {
  bitcoin(network: $network) {
    inputs(
      txHash: {is: "e43dcde6e739c12079edb170fd2aed1acb9b8cf8e00ced99046ca97084fba7cc"}
    ) {
      block(height: {gt: $block}) {
        height
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
      }
      outputTransaction {
        hash
        index
      }
      transaction {
        hash
        index
      }
      inputIndex
      value
      inputAddress {
        address
      }
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "address": "1PYAVCnaGb1UjxaWmcuuWtwjQmj1bYthaR",
  "network": "bitcoin",
  "from": "2022-02-03",
  "till": "2022-03-04T23:59:59",
  "dateFormat": "%Y-%m-%d",
  "block":66
}

Similar queries