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

How Did the 45000-sat Payment Move from Mempool to Confirmed Balance?

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

Answer

The SegWit balance changed from 116000 confirmed sat plus 45000 incoming unconfirmed sat to 161000 confirmed sat and zero incoming unconfirmed sat.

Evidence and interpretation

The confirmed balance increased by exactly 45000 sat, while utxo_count rose from 3 to 4 and scan_height advanced from 5371186 to 5371189. This is consistent with the same payment becoming confirmed; do not add pending and confirmed values twice.

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