Bitcoin day wise transaction

Returns the latest 10 transactions on Bitcoin, where time since 2024-06-01 and time till 2024-06-02: timestamp time, block height, input value, output count, input count, index, hash and fee value.

By Anmol · saved 3 June 2024 · Bitquery API v1

What it returns

Filters

The query

query ($network: BitcoinNetwork!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  bitcoin(network: $network) {
    transactions(
      options: {desc: ["block.height", "index"], limit: $limit, offset: $offset}
      time: {since: $from, till: $till}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      inputValue
      input_value_usd: inputValue(in: USD)
      outputCount
      inputCount
      index
      hash
      feeValue
      fee_value_usd: feeValue(in: USD)
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "bitcoin",
  "from": "2024-06-01",
  "till": "2024-06-02T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries