get latest transactions on btc

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

By Kshitij Mahajan · saved 16 June 2025 · Bitquery API v1

What it returns

Filters

The query

query ($network: BitcoinNetwork, $limit: Int = 10, $offset: Int = 0, $from: ISO8601DateTime = "2025-06-01") {
  bitcoin(network: $network) {
    transactions(
      options: {desc: ["block.height", "index"], limit: $limit, offset: $offset}
      time: {since: $from}
    ) {
      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)
    }
  }
}

Similar queries