zcashblocktransations

Returns the latest 10 inputs and outputs on Bitcoin and Zcash, where date since 2016-10-28 and date till 2016-11-28: block height, output transaction hash, output transaction index, transaction hash, transaction index, input index, value and 3 more fields.

By Mitch Clolinger · saved 16 July 2024 · run 22 times · Bitquery API v1

What it returns

Filters

The query

query ($network: BitcoinNetwork!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  bitcoin(network: $network) {
    inputs(
      date: {since: $from, till: $till}
      options: {desc: ["block.height", "transaction.index"], limit: $limit, offset: $offset}
    ) {
      block {
        height
      }
      outputTransaction {
        hash
        index
      }
      transaction {
        hash
        index
      }
      inputIndex
      value
      value_usd: value(in: USD)
    }
    outputs(
      date: {since: $from, till: $till}
      options: {desc: ["block.height", "outputIndex"], limit: $limit, offset: $offset}
    ) {
      block {
        height
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
      }
      transaction {
        hash
      }
      outputIndex
      outputDirection
      value
      value_usd: value(in: USD)
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "height": 1,
  "network": "zcash",
  "from": "2016-10-28",
  "till": "2016-11-28T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries