Reconciling External Bitcoin Contract Outputs with WAB
Recorded evidence and engineering implications
Round one requested 10000 sat and funded a 9000 sat P2WSH output. The external Go claimant returned 8500 sat after a fixed 500 sat claim fee. Both transactions were recorded in block 5374088. WAB tx/status returned unknown for the claim on recheck, yet wallet/utxos matched its unreserved output and Taproot spendable balance was 20200 sat. SegWit spendable balance was 119437 sat, including change of 109437 sat. The SDK should distinguish transaction tracking from wallet credit and match network, txid, vout, amount and scan height. Unknown is not evidence of failure. The cause of the status discrepancy remains unverified.
Evidence
1{
2 "checked_at": "2026-11-28T15:39:54Z",
3 "segwit": {
4 "balance": {
5 "net": "test",
6 "type": "segwit",
7 "balance_sat": 119437,
8 "confirmed_sat": 119437,
9 "spendable_sat": 119437,
10 "incoming_unconfirmed_sat": 0,
11 "pending_spend_sat": 0,
12 "scan_height": 5374088,
13 "status": "fresh",
14 "source": "bbolt_confirmed_core_snapshot"
15 },
16 "utxos": {
17 "ok": true,
18 "shape": [
19 "balance_sat",
20 "btc_id",
21 "change_sat",
22 "checked_at",
23 "confirmed_sat",
24 "identity_version",
25 "incoming_unconfirmed_sat",
26 "lag_blocks",
27 "mempool_checked_at",
28 "mempool_tx_count",
29 "mempool_watch_status",
30 "net",
31 "pending_spend_sat",
32 "pending_spend_source",
33 "reserved_confirmed_sat",
34 "scan_height",
35 "seen",
36 "source",
37 "spendable_sat",
38 "status",
39 "type",
40 "unconfirmed_attribution",
41 "unconfirmed_included",
42 "unreserved_confirmed_sat",
43 "utxo_count",
44 "utxos"
45 ],
46 "matches": [
47 {
48 "address": "tb1qr8ahcyxc88lyp73pnwng9fjmr0302ycgldszfq",
49 "chain": 1,
50 "index": 1,
51 "reserved": false,
52 "txid": "9fe5c65cb6161aba99d8b288e8273badee9751b13f3142559938e6b0ee067d0d",
53 "value_sat": 109437,
54 "vout": 2
55 }
56 ]
57 }
58 },
59 "taproot": {
60 "balance": {
61 "net": "test",
62 "type": "taproot",
63 "balance_sat": 20200,
64 "confirmed_sat": 20200,
65 "spendable_sat": 20200,
66 "incoming_unconfirmed_sat": 0,
67 "pending_spend_sat": 0,
68 "scan_height": 5374088,
69 "status": "fresh",
70 "source": "bbolt_confirmed_core_snapshot"
71 },
72 "utxos": {
73 "ok": true,
74 "shape": [
75 "balance_sat",
76 "btc_id",
77 "change_sat",
78 "checked_at",
79 "confirmed_sat",
80 "identity_version",
81 "incoming_unconfirmed_sat",
82 "lag_blocks",
83 "mempool_checked_at",
84 "mempool_tx_count",
85 "mempool_watch_status",
86 "net",
87 "pending_spend_sat",
88 "pending_spend_source",
89 "reserved_confirmed_sat",
90 "scan_height",
91 "seen",
92 "source",
93 "spendable_sat",
94 "status",
95 "type",
96 "unconfirmed_attribution",
97 "unconfirmed_included",
98 "unreserved_confirmed_sat",
99 "utxo_count",
100 "utxos"
101 ],
102 "matches": [
103 {
104 "address": "tb1psh2cccytue3semqpafwrdelse99jk5sydmftwyyjv5qzlekewpwqn9q3lm",
105 "chain": 0,
106 "index": 0,
107 "reserved": false,
108 "txid": "91fbca96ff13d5048313e8be47cf83a8906404000cd39d49ee5159723178e323",
109 "value_sat": 8500,
110 "vout": 0
111 }
112 ]
113 }
114 }
115}Scope
This analysis uses archived laboratory observations; no transactions were independently broadcast or verified against live nodes during editorial review.
Primary reference: https://thamer.org/api
