From SSH to a Bitcoin Testnet Payment with WAB
The central question
Can a coding agent use WAB from a remote lab and verify the results of a Bitcoin Testnet payment? Codex connected to the Ubuntu VPS over SSH and checked the local engine and its database before creating a lab wallet.
Wallet creation and identity restoration
The public POST /create endpoint returned HTTP 200 with ok: true. The wallet credentials were stored in a private file on the VPS. The site documents its wallet creation terms at https://thamer.org/tos#fee.
The first request for a Testnet SegWit address also returned HTTP 200, but the JSON contained ok: false and AUTH_REQUIRED. Calling POST /api/v5/id/restore on the local engine with the same wallet credentials returned HTTP 201 and ok: true. A second receive request returned HTTP 200 and ok: true, with the Testnet address in result.address.
Payment verification
The lab operator sent 0.00132437 tBTC, or 132,437 satoshis. WAB's transaction status endpoint reported mempool with zero confirmations. The Testnet explorer showed an output with the exact destination address and amount.
At the time of the check, the balance and UTXO endpoints returned BALANCE_WARMING while the initial wallet scan was running. The lab verified the transaction output and mempool visibility. The initial check ended before confirmation or balance reconciliation.
Takeaway for agent developers
Check the HTTP status, content type, and JSON fields. Verify ok and the expected result fields for successful calls, and capture the error code for unsuccessful calls. Track mempool visibility, confirmations, and wallet balance reconciliation independently.
WAB API reference
https://thamer.org/api
Testnet transaction
https://mempool.space/testnet/tx/0fa992e3ddd5be81518c7b183c321a3da8cd576959e35b7484a1f49b2f45d734
