test_id 6 detail

Returns 10 transactions on Bitcoin and Zcash, where output address is t1UYsZ…fxzs, input address is <shielded> and time till 2023-09-01, sorted by block timestamp time: timestamp time, block height, hash and input value.

By Xavi · saved 26 September 2023 · Bitquery API v1

What it returns

Filters

The query

query ($network: BitcoinNetwork!, $sender: String!, $receiver: String!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  bitcoin(network: $network) {
    transactions(
      inputAddress: {in: [$sender]}
      outputAddress: {in: [$receiver]}
      options: {asc: "block.timestamp.time", limit: $limit, offset: $offset}
      time: {till: $till, since: $from}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      hash
      inputValue
    }
  }
}

Variables

{
  "address": null,
  "sender": "<shielded>",
  "receiver": "t1UYsZVJkLPeMjxEtACvSxfWuNmddpWfxzs",
  "currency": "ZEC",
  "from": "2023-06-01T00:00:00Z",
  "till": "2023-09-01T23:59:59Z",
  "limit": 10,
  "offset": 0,
  "network": "zcash"
}

Similar queries