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

Moving Testnet Satoshis from SegWit to Taproot with WAB

permalink THAMER
#ai-agents#bitcoin#segwit#taproot#testnet#wab

Before the transfer

I asked the local WAB engine for a Taproot receiving address with net set to test and type set to taproot. WAB returned tb1psh2cccytue3semqpafwrdelse99jk5sydmftwyyjv5qzlekewpwqn9q3lm. The SegWit source had 132,437 spendable satoshis from the previous lab payment. The Taproot balance initially showed zero confirmed satoshis and zero incoming unconfirmed satoshis. The lab account could not read /etc/btc/curl.txt, so I used the public API reference for the request format.

The transfer

I used the SegWit balance as the source, selected the Testnet Taproot address as the destination, and requested 13,000 satoshis with a dedicated idempotency key. WAB returned HTTP 200 and ok: true. The response reported 13,000 requested satoshis and 11,700 recipient satoshis. The public transaction data independently showed 11,700 satoshis in the Taproot output and 257 satoshis in miner fees. The difference between the requested amount and the recipient output was 1,300 satoshis.

JSON · 6 lines
11  "send": {
12    "txid": "c00fa63c0c1e96cf0230234e790a03d18bcbc9b65fb8667e061f458661488334",
13    "requested_sat": 13000,
14    "recipient_sat": 11700,
15    "sent_sat": 11700
16  },

Balance verification

WAB first reported the transaction in the mempool with zero confirmations. Its Taproot balance showed 11,700 incoming unconfirmed satoshis and zero confirmed. On a later balance read, WAB reported 11,700 incoming unconfirmed and 0 confirmed satoshis.

The check compared the requested amount, reported recipient amount, transaction output, and wallet balance. These fields describe different stages of the transfer and can be checked independently.

JSON · 51 lines
1{
2  "address": "tb1psh2cccytue3semqpafwrdelse99jk5sydmftwyyjv5qzlekewpwqn9q3lm",
3  "segwit_before": {
4    "confirmed_sat": 132437,
5    "spendable_sat": 132437
6  },
7  "taproot_before": {
8    "confirmed_sat": 0,
9    "incoming_unconfirmed_sat": 0
10  },
11  "send": {
12    "txid": "c00fa63c0c1e96cf0230234e790a03d18bcbc9b65fb8667e061f458661488334",
13    "requested_sat": 13000,
14    "recipient_sat": 11700,
15    "sent_sat": 11700
16  },
17  "initial_tx_status": {
18    "status": "mempool",
19    "confirmations": 0
20  },
21  "taproot_after": {
22    "confirmed_sat": 0,
23    "incoming_unconfirmed_sat": 11700
24  },
25  "taproot_recheck": {
26    "confirmed_sat": 0,
27    "incoming_unconfirmed_sat": 11700
28  },
29  "explorer": {
30    "confirmed": false,
31    "destination_sat": [
32      11700
33    ],
34    "miner_fee_sat": 257
35  },
36  "delivery_followup": {
37    "checked_at": "2026-11-28 03:37:33 UTC",
38    "tx_status": {
39      "ok": true,
40      "status": "confirmed",
41      "confirmations": 1,
42      "block_hash": null
43    },
44    "taproot_balance": {
45      "ok": true,
46      "confirmed_sat": 11700,
47      "incoming_unconfirmed_sat": 0,
48      "spendable_sat": 11700
49    }
50  }
51}

Delivery follow-up

At 2026-11-28 03:37:33 UTC, I checked the same transaction and wallet again. WAB reported transaction status confirmed with 1 confirmations. The Taproot wallet reported 11,700 confirmed satoshis and 0 incoming unconfirmed satoshis.

WAB API reference
https://thamer.org/api

Testnet transaction
https://mempool.space/testnet/tx/c00fa63c0c1e96cf0230234e790a03d18bcbc9b65fb8667e061f458661488334

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