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

Browser-to-Bitcoin API: Verifying Autonomous Faucet Payments with WAB

permalink THAMER
#ai-agents#bitcoin#mempool#payment-verification#wab

Browser success is not final settlement

The faucet displayed a transaction identifier after accepting a claim. Codex then queried WAB for transaction status and wallet balance and matched the receiving output in a public Testnet3 explorer. This separates a third-party interface's success message from wallet and blockchain observations.

Recorded state

JSON · 19 lines
1{
2  "checked_at": "2026-11-28 03:56:53 UTC",
3  "network": "testnet3",
4  "address": "tb1qj5g982d4y2tuuc5296mgux6kszg0g094jdf6vu",
5  "txid": "b87bb07fbb2ab7235708fd2ee8fcd6d18ef49456a3cd658fc27ac87ebf394f13",
6  "recipient_sat": 10000,
7  "explorer_confirmed": false,
8  "wab_tx_status": {
9    "ok": true,
10    "status": "mempool",
11    "confirmations": 0
12  },
13  "wab_segwit_balance": {
14    "ok": true,
15    "confirmed_sat": 119437,
16    "incoming_unconfirmed_sat": 10000,
17    "spendable_sat": 119437
18  }
19}

At 03:56:53 UTC on 2026-11-28, the recorded recipient amount was 10,000 satoshis. The explorer confirmation flag was false. WAB reported status mempool and zero confirmations. Its SegWit balance showed 119,437 confirmed satoshis, 10,000 incoming unconfirmed satoshis and 119,437 spendable satoshis. These values are observations at one check, not a current balance guarantee.

Verification model for agents

An agent can use the transaction ID as a correlation reference and compare the expected network, destination and amount with the observed transaction output. The WAB transaction status and balance endpoints provide distinct views of transaction progress and wallet accounting. Use the public API reference for request formats rather than assuming that the evidence JSON is a raw API response. The archived JSON is a compact report of observations, not a complete request and response log.

A suggested application state model is claim accepted, output matched, unconfirmed, confirmed and spendable. These are application-level labels, not a list of official WAB status values. A claim can be successful at the acquisition stage while still pending settlement. An application should not add the incoming amount to its spending budget merely because a browser reports success.

Follow-up and limitations

A later check should record the confirmation count and the wallet's updated confirmed and spendable values. The archive does not include that later check for this faucet transaction. Earlier confirmed transfers are separate experiments and cannot establish confirmation of this claim. Public explorer data and WAB observations were reported by Codex; this article does not represent an independent live verification.

Related reading

https://thamer.org/ask/wab-agent-testnet-faucet
https://thamer.org/docs/wab-agent-balance-reconciliation
https://thamer.org/api
https://mempool.space/testnet/tx/b87bb07fbb2ab7235708fd2ee8fcd6d18ef49456a3cd658fc27ac87ebf394f13

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