Ordinal theory is the satoshi-numbering convention associated with Casey Rodarmor's Ordinals project. It assigns ordinal numbers to sats in the order they are mined and uses a first-in-first-out model to track them through transaction inputs and outputs.
Assignment and transfer
The current Ordinal Numbers draft defines two connected rules. First, newly created sats receive serial numbers beginning at zero in the order they could be mined. Second, when a transaction spends outputs, the ordinal numbers carried by its inputs are assigned to its outputs first-in-first-out according to input order, output order and value. Ordinal Numbers draft — primary repository
Fees do not break the lineage. Sats left over after ordinary outputs are assigned are treated as fee sats. For ordinal assignment, the coinbase is modeled as if it had an implicit subsidy input followed by the fee sats from each transaction in block order. The miner's coinbase outputs then receive that combined sequence.
The draft also makes a subtle supply distinction: if a miner underclaims the available subsidy, later ordinal numbers do not shift downward. Numbering follows how many sats could have been mined under the subsidy schedule, not merely how many were actually claimed. Ordinal Numbers draft
A satpoint expresses the current location of a sat as an outpoint plus an offset within that output. This is a location identifier, not the ordinal number itself.
Genesis: a satpoint is not a spendability proof
The ord sat-index test and public explorer locate sat 0 at the genesis coinbase's recorded output, 4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b:0:0. The test uses a simulated Bitcoin Core environment; the explorer supplies a separate live indexer observation. Bitcoin Core nevertheless excludes that output from its spendable UTXO state. Ordinal location and Bitcoin consensus spendability answer different questions. ord sat-zero test — pinned source · Explorer record · Bitcoin Core genesis exception
The explorer's spent: false field for the genesis output does not change that consensus rule. Nor is the genesis case an example of the coinbase underclaim mechanism at Lost sats: block zero recorded the 50 BTC output, but Bitcoin's spendable state never included it. ord output view
Lost sats are unclaimed coinbase value
Lost sats are the part of Ordinal theory's conceptual coinbase input that never fit into a real coinbase output because the miner claimed less than the full block reward available. They are not the same thing as sats merely paid as transaction fees.
Under the assignment rule, a block's conceptual coinbase input begins with that block's subsidy and then appends fee sats from ordinary transactions in block order. The coinbase's real outputs consume that sequence from the front. If the outputs sum to less than subsidy plus fees, the unassigned tail has no Bitcoin outpoint to inhabit. ord records those sats against a special null outpoint instead. Ordinal Numbers draft · Current indexer source
This makes a useful distinction. A sat spent as a fee can continue into the miner's coinbase and remain trackable if the miner claims it. A lost sat is value the miner did not claim at all. Because the subsidy is placed before fee sats in the conceptual input, an underclaim that is no larger than the block's fees removes sats from the fee tail first; a larger underclaim can also consume the tail of the subsidy range.
The surviving repository record shows this concept forming before Ordinals' January 2023 public mainnet opening. PR #1125, opened on 30 December 2022 and merged on 2 January 2023, added a LostSats statistic and moved fee-spent inscriptions to a null-outpoint satpoint when the corresponding reward was underclaimed. The following day, issue #1133 described the same null-outpoint model and called for tracking the cumulative lost-sat count. PR #1125, direct code and discussion record · Issue #1133, 31 December 2022
On 14 January 2023, PR #1227 generalized the bookkeeping from lost inscriptions to complete lost sat ranges, explicitly so the null outpoint could reveal which sats had been lost on every supported chain. It merged on 16 January. That is the clearest surviving boundary BOMB has found between an inscription edge case and a first-class sat-index concept. PR #1227, “Track lost sat ranges”
Bitcoin consensus supplies the underclaimed reward condition. The serial identity of the missing units, their ordering and the null-outpoint representation are Ordinal-theory and ord conventions. See Lost sats for the full lineage and evidence boundary.
Duplicate txids are inherited from Bitcoin
Bitcoin's historical main chain contains two pairs of coinbase transactions with duplicate transaction IDs: blocks 91,812/91,842 and 91,722/91,880. That is possible because a txid identifies serialized transaction contents, not a unique historical occurrence. Before BIP 34 required later coinbases to begin with their block height, independently mined coinbases could reproduce the same serialization. See BIP 30 for the consensus history.
The Ordinal Numbers draft therefore carries a special displacement rule. If a transaction is mined with the same txid as outputs currently present in Bitcoin's UTXO set, the newer outputs replace the older entries; sats in still-unspent outputs of the first occurrence are treated as destroyed. The draft names those two historical pairs explicitly. Ordinal Numbers draft — primary repository
This is not an Ordinals-only edge case. Bitcoin consensus decides which outpoints survive the duplicate; Ordinal theory has to preserve a deterministic sat-assignment history across that already-existing consensus scar. The rule is one of the clearest places where an application-layer identity system has to inherit an old implementation-era quirk from the chain beneath it.
Rarity is a derived convention
Ordinal rarity is layered on top of the numbering scheme. Rodarmor's 21 July 2022 public essay proposed labels based on Bitcoin's periodic structure:
- uncommon — first sat of a block;
- rare — first sat of a difficulty-adjustment period;
- epic — first sat of a halving epoch;
- legendary — first sat of a six-halving cycle;
- mythic — first sat of the genesis block;
- common — everything else.
Rodarmor, “Ordinal Theory”, 21 July 2022 · Current Ordinal Theory overview
Those labels are part of Ordinal culture and software, not Bitcoin consensus categories. The same is true of ordinal names, degree notation and the broader category of “exotic” sats.
Why the boundaries meet every six halvings
The six-halving cycle follows from two mainnet block counts. Bitcoin Core sets the subsidy-halving interval to 210,000 blocks. Its target timespan of fourteen days divided by its target spacing of 600 seconds gives a 2,016-block difficulty-adjustment interval. These are consensus parameters, not elapsed-time guarantees. Bitcoin Core mainnet parameters · Difficulty-adjustment interval definition
Their greatest common divisor is 336 blocks and their least common multiple is 1,260,000 blocks: 6 × 210,000 = 625 × 2,016. The first halving boundary, at height 210,000, falls 336 blocks into a difficulty period. The successive halving boundaries fall 672, 1,008, 1,344 and 1,680 blocks into their respective periods; at height 1,260,000 the two boundaries first coincide again after genesis.
Ordinal theory calls such a coincidence a conjunction. In its rarity vocabulary, the first sat of a new six-halving cycle is legendary. The 336-block divisor is a mathematical relationship between the intervals, not a third Bitcoin consensus schedule; the cycle and rarity labels belong to Ordinal theory. Ordinal Theory overview
This is block-count arithmetic. The common shorthand of a halving “every four years” and a difficulty change “every two weeks” should not be used to assign exact calendar dates to these heights. See Bitcoin time.
Prehistory
Modern Ordinal theory has documented predecessors. In August 2012, Charlie Lee proposed deterministically selecting an individual satoshi and following it through later transactions for a Proof-of-Activity system. His forum post did not fully specify the input-to-output inheritance rule.
Two months later, jl2012 published a much closer serial-numbering scheme: sats were identified by block and offset, transferred by an ordered inheritance rule, and fee sats flowed into the coinbase. In the same discussion, casascius proposed numbering sats globally from zero across the subsidy schedule.
See Satoshi serial numbering for the primary-record reconstruction. The modern Ordinal Numbers draft itself cites jl2012's scheme as an independently invented variation. Ordinal Numbers draft
Why this page exists
The numbering theory, the inscription protocol, the ord software and the culture that grew around them are related but not identical things. The archive keeps separate pages so later history can change one without quietly rewriting the others.
Primary sources
- Ordinal Numbers protocol draft
- Casey Rodarmor, “Ordinal Theory”, 21 July 2022
- Ordinal Theory overview
- jl2012, “Unique serial number for every single satoshi”, 8 October 2012
Open research
Reconstruct every mainnet coinbase underclaim directly from block data, map each unclaimed value range through Ordinal theory, and compare the result with
ord's null-outpoint ranges so the first lost sat and later cumulative total can be pinned without relying on indexer summaries.