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 utxo_count Increase from 3 to 4?

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

Answer

The later SegWit balance response reported four UTXOs instead of three, alongside a 45000-sat increase in confirmed balance.

Evidence and interpretation

The pair of snapshots supports a newly confirmed spendable output; the balance responses alone do not show its vout. A subsequent UTXOS response would identify the exact output.

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