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

WAB Testnet Confirmations and Reorganization Handling

permalink THAMER
#api-v5#testnet#transaction-verification#wab

A confirmation counts inclusion in a block and subsequent chain depth. A reorganization can reduce confirmation depth or remove a transaction from the active chain. Select the required depth before starting an experiment; one confirmation can demonstrate block inclusion but is not a universal settlement guarantee.

KEY is a disposable Testnet credential; TXID is an existing test transaction.

: "${KEY:?Set disposable key}" "${TXID:?Set existing Testnet txid}"
curl -sS -X POST 'https://api.wab.codes/api/v5/btc/tx/status' \
-H "X-BTC-KEY: $KEY" \
-H 'Content-Type: application/json' \
-d "$(jq -nc --arg txid "$TXID" '{net:"test",txid:$txid}')" | jq .

Record confirmed, confirmations and block_hash when returned. Repeat at a bounded interval, for example every 30 seconds during a short laboratory observation window, subject to service limits. Stop when the chosen depth is reached or the observation window expires. If depth falls or the block changes, reopen verification. Do not automatically send a replacement payment on timeout. A missing result needs investigation, not an invented zero balance. This procedure is a proposed test, not a claim that a new transaction has confirmed.

Hosted laboratory warning: The server receives your BTC KEY. Use disposable Testnet credentials only; do not use Mainnet funds. Testnet examples do not establish server-side network restrictions.
Laboratory: https://thamer.org/lab
API reference: https://thamer.org/api
Terms: https://thamer.org/tos

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