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 Can Developers Correlate SEND, WATCH and TX STATUS by TXID?

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

Answer

Compare the exact TXID returned by SEND with WATCH seen_txid and the TXID submitted to TX STATUS.

Evidence and interpretation

For this test the shared TXID is 01aa1b183a7a385d2bb910d84f0103bf92aef2109bb7c789c0b50b9841cf35be. Do not overwrite the shell TXID variable from a different UTXO before checking the new payment.

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