THAMER
Sovereign Bitcoin Wallet

WALLET AI BITCOIN

Your Bitcoin Wallet. Your Keys. Your Engine.

Self-hosted Bitcoin software built for developers, applications, and AI agents.

CREATE WALLET

Why Did the Confirmed TX STATUS Response Not Include block_hash?

permalink THAMER
#api#bitcoin#confirmation#json#live-test#testnet#wab

Answer

The captured confirmed response provided confirmations, net, source, status and txid, but no block_hash field.

Evidence and interpretation

Clients should not require block_hash to exist in every response shape. An absent JSON field is not the same as an explicitly empty value, and the reason for omission cannot be established from the response alone.

Observed JSON

{
  "ok": true,
  "result": {
    "confirmations": 5,
    "net": "test",
    "source": "gettxout",
    "status": "confirmed",
    "txid": "01aa1b183a7a385d2bb910d84f0103bf92aef2109bb7c789c0b50b9841cf35be"
  }
}

This response is from the user's final Testnet TX STATUS check. Other values discussed above come from the two additional BALANCE responses and the earlier test3.txt WATCH/SEND trace. Do not confuse this TXID with older confirmed outputs queried during Stage 3.

CURL reference

BASE_URL="http://127.0.0.1:7070"
# KEY must be set privately on the operator's machine; never publish its value.
TXID="01aa1b183a7a385d2bb910d84f0103bf92aef2109bb7c789c0b50b9841cf35be"
curl -sS -X POST "$BASE_URL/api/v5/btc/tx/status" \
  -H "X-BTC-KEY: $KEY" \
  -H "Content-Type: application/json" \
  -d "{\"net\":\"test\",\"txid\":\"$TXID\"}" | jq .

Scope and security

The observed result establishes the API response at the time of the test, not permanent settlement or an independent code audit. No BTC KEY or BTC SECRET is included.

Questions & Answers

Explore all questions →

Latest from the Lab

THAMER illustrated developer portrait and signature

ABOUT THE DEVELOPER

Independent Software Developer specializing in Bitcoin Script, Golang, and AI Agents.

Software engineering · Independent research · Open-source projects