sBTC
The peg lifecycle, decoded, plus Bitcoin confirmation of every sweep.
A withdrawal carries a settlement object:
Live supply, deposits and withdrawals: sBTC deposits and withdrawals.
| Read | Route | SDK |
|---|---|---|
| Raw peg log, six topics | /v1/index/sbtc/events | sbtc.events.list / walk / consume |
| Completed deposits | /v1/index/sbtc/deposits · /{bitcoin_txid} | sbtc.deposits.list / walk / consume |
| Withdrawal lifecycles | /v1/index/sbtc/withdrawals · /{request_id} | sbtc.withdrawals.list / walk / get |
| Totals | /v1/index/sbtc/summary | none |
A withdrawal-accept only means the signers committed to a sweep, so your instance checks sweep_txid against bitcoind (the bundled full-node profile or an external BITCOIN_RPC). Deposits need no check: completed-deposit fires after the signers see the confirmations.
settlement_confirmed | Means |
|---|---|
true | Past the confirmation threshold |
false | Shallow |
null | No sweep observed yet (not a denial) |
The list takes it as a filter: ?settlement_confirmed=true is confirmed peg-outs, ?settlement_confirmed=false is the whole not-done bucket.
Withdrawals have no consume: a row mutates as it moves REQUESTED, ACCEPTED, settled, and a checkpoint only moves forward. Mirror the append-only events, derive status from the withdrawal-* topics, and read withdrawals.get(id) for the assembled lifecycle. Settlement is verified against your instance's bitcoind, not a custody guarantee: a signer set still controls the pegged UTXO. A Bitcoin reorg that un-confirms a sweep self-corrects on read. To be pushed: Webhooks.