Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Transaction types

Beyond standard transactions, the settlement state is maintained by a small set of special transaction types, each with its own consensus validation.

TypeIDPurpose
NORMAL0standard payment — transparent or shielded (Sapling)
PROREG1register a masternode (burned-BTC collateral)
TX_LOCK20vault M0, issue a 1:1 M1 receipt
TX_UNLOCK21redeem a receipt, release the vaulted M0
TX_TRANSFER_M122transfer a receipt between parties
TX_BURN_CLAIM31submit the SPV proof of a Bitcoin burn
TX_MINT_M0BTC32mint M0 against a matured, verified burn claim
TX_BTC_HEADERS33carry Bitcoin block headers into consensus

An HTLC family of settlement transactions (create / claim / refund, hashlock + timelock) powers atomic swaps and the DvP patterns.

Design notes

  • Special transactions cannot carry shielded components. Privacy lives in NORMAL transactions only; the settlement skeleton stays fully auditable — this is consensus-enforced, not convention.
  • Receipts are protected at consensus level. An M1 receipt output can only be spent by the settlement types that understand it (TX_UNLOCK, TX_TRANSFER_M1, HTLC) — never accidentally swept by a normal payment.
  • Fees are strict. The coinbase must equal the block's fees exactly — a producer can neither inflate nor quietly divert.