Reviewed Aug 2026
DE
DA-02 · LESSON 05

Cenotaphs and invalid messages

KEY DEFINITIONS

Terms used in this lesson

Cenotaph
A malformed or intentionally unrecognized Runes message whose affected token balances are burned under the protocol’s rules.
Runes
A Bitcoin metaprotocol that assigns fungible-token meaning to transaction outputs through off-chain interpretation.
UNIT
Ducat’s dollar-pegged stablecoin, the asset a borrower can create against bitcoin collateral.
Runestone
Transaction data interpreted by the Runes protocol to describe token creation or allocation.
LEB128
Little Endian Base 128: a variable-length integer encoding used for integers inside a Runes message.
Identifier
Identifier: a value used to distinguish one request, object, or participant from another.
OP_RETURN
A Bitcoin Script operation commonly used to create an unspendable output carrying a small amount of data.

Malformed or deliberately unrecognized Rune messages can burn affected token balances, making parser compatibility and transaction construction safety essential.

35 min Difficulty 4/5 Not started

Loading lesson visuals...

01

Learn the idea

A cenotaph is a runestone that the Runes rules classify as malformed or unrecognized. Its affected input balances are burned even though the Bitcoin transaction may confirm; a cenotaph's etched Rune is unmintable and a referenced mint is counted but creates no allocation. Unsigned LEB128 is the variable-length little-endian base-128 encoding used for runestone integers. Body is numeric tag 0 and marks the start of edicts. Each four-integer edict is Rune block delta, transaction delta, amount, and output selector. Flaw::EdictOutput is the named parser failure for a selector greater than the transaction output count. Truncated LEB128, malformed edict groups, unrecognized even tags, unknown flags, invalid Rune IDs, and out-of-range selectors are deterministic cenotaph causes under the pinned grammar.

GUIDED EXPLANATION1/4 ideas inspected
1

Parse the payload

The indexer deciphers OP_RETURN data under the supported Runes version and field rules.

Inspect each idea before the worked example.
The worked example follows the explanation

Inspect every idea above to open it.

Important distinctionIf a runestone is invalid, Bitcoin rejects the entire transaction and the UNIT remains in its old output.

Bitcoin may confirm the spend. Runes interpretation can burn the token balance because the original output was still consumed.

02
FINISH LEARNING FIRST

The questions unlock after every required learning activity

Inspect every guided idea, open the worked example, rebuild its mechanism, and complete the deterministic lesson tool. Your progress is saved automatically.