BOMBARCHIVE
Explore

A living reference collection. Written in the wiki, preserved in Git.

The archiveOrdinals

Old revision: Ordinal recursion

Use Ordinals Public Goods title consistently

Ordinal recursion is the mechanism by which an inscription can access a whitelisted set of resources exposed by ord server despite the normal inscription sandbox. Recursive endpoints can return other inscription content, inscription metadata and relationships, sat and UTXO data, transactions, and selected Bitcoin block data. Current recursion documentation — first-party repository

Compatibility contract

The ord documentation gives recursive endpoints stronger compatibility promises than ordinary server routes:

  • recursive endpoints will not be removed;
  • existing object fields will not be renamed or change type;
  • new fields may be added and fields may be reordered.

Clients therefore need to tolerate unfamiliar fields and must not depend on JSON field order. Current recursion documentation

That promise matters because an inscription may be immutable while the software serving it continues to evolve.

Endpoint map

Shared inscription content

{| class="wikitable"

! Endpoint !! Returns !! What it enables
/content/<INSCRIPTION_ID>
}

This is the primitive behind much of Ordinals Public Goods. An HTML inscription can load a dependency by inscription ID instead of embedding another copy of the same resource.

Bitcoin block data

{| class="wikitable"

! Endpoint !! Returns !! What it enables
/r/block/<QUERY>
-
/r/blockhash
-
/r/blockhash/<HEIGHT>
-
/r/blockheight
-
/r/blockinfo/<QUERY>
-
/r/blocktime
}

The raw-block endpoint is the important boundary here. It exposes the serialized block itself instead of only selected pre-interpreted fields. A recursive application can decode transactions locally and apply its own higher-level rules.

Inscription relationships and content

{| class="wikitable"

! Endpoint !! Returns !! What it enables
/r/children/<INSCRIPTION_ID>
-
/r/children/<INSCRIPTION_ID>/<PAGE>
-
/r/children/<INSCRIPTION_ID>/inscriptions
-
/r/children/<INSCRIPTION_ID>/inscriptions/<PAGE>
-
/r/parents/<INSCRIPTION_ID>
-
/r/parents/<INSCRIPTION_ID>/<PAGE>
-
/r/parents/<INSCRIPTION_ID>/inscriptions
-
/r/parents/<INSCRIPTION_ID>/inscriptions/<PAGE>
-
/r/inscription/<INSCRIPTION_ID>
-
/r/metadata/<INSCRIPTION_ID>
-
/r/undelegated-content/<INSCRIPTION_ID>
}

These routes turn Inscription provenance and Inscription delegation into queryable application primitives rather than facts that only an explorer UI can display.

Sat-indexed data

The following routes require the server to run with --index-sats:

{| class="wikitable"

! Endpoint !! Returns !! What it enables
/r/sat/<SAT_NUMBER>
-
/r/sat/<SAT_NUMBER>/<PAGE>
-
/r/sat/<SAT_NUMBER>/at/<INDEX>
-
/r/sat/<SAT_NUMBER>/at/<INDEX>/content
}

The current documentation says <SAT_NUMBER> is the actual numeric sat number, not degree, percentile or decimal notation.

Transaction and UTXO data

{| class="wikitable"

! Endpoint !! Returns !! What it enables
/r/tx/<TRANSACTION_ID>
-
/r/utxo/<OUTPOINT>
}

The transaction endpoint carries the same backwards-compatibility intent as /r/block if Bitcoin serialization ever changes incompatibly.

Legacy plain-text shortcuts

For backwards compatibility, the documentation also lists plain-text routes:

  • /blockheight
  • /blockhash
  • /blockhash/<HEIGHT>
  • /blocktime

New work should understand that these coexist with the /r/ JSON-oriented namespace rather than treating them as identical response formats.

What recursion makes possible

The official documentation names remixing, shared code and assets, generative art, and layered image composition as examples. The capability has since grown into a broader application substrate. Current recursion documentation

Reusable on-chain software
Libraries such as Three.js and other Ordinals Public Goods can be addressed once and reused by many inscriptions.
Chain-native applications
/r/block and /r/tx let an inscription decode Bitcoin structures locally rather than depending on an application-specific JSON API.
Provenance-aware interfaces
Parent and child endpoints let applications navigate provenance directly.
Sat-aware experiences
With a sat index, an application can react to inscription stacks and specific sat identities.
Delegated content systems
The recursive namespace exposes both normal content resolution and undelegated content, allowing applications to inspect delegation explicitly.

The result is a dependency graph. An inscription can be immutable while still depending on other immutable inscriptions and on stable recursive interfaces supplied by ord server.

Early development

12 June 2023
PR #2174, “Document recursion”, was merged. The documentation described recursion as an exception to inscription sandboxing and named shared code, images, generative art and compositional assets as use cases. Direct repository record
15 June 2023
PR #2175, “Recursive Endpoints”, was merged, adding the first documented recursive chain-data routes. Direct repository record
12 September 2026
/r/block/<QUERY> merged through PR #4563 after issue #4562 proposed exposing a complete serialized block to recursive inscriptions. Proposal · Merged implementation

Merge, release and deployment

As of 26 September 2026, the repository's latest tagged release is still ord 0.29.0 from 5 August 2026. The raw-block endpoint merged on 12 September, so it exists on master but is not yet in a tagged release. Latest tagged release · Merge record

A server operator can run master or a custom build, so merge status, release status and live deployment remain separate claims.

Relevance to Bitmap

Bitmap derives Districts from blocks and Parcels from transactions. Raw block recursion gives an inscription a route to fetch the source Bitcoin block and decode transaction structure locally.

That changes the available infrastructure, not the Bitmap standard. Bitmap validity remains a separate application-layer rule system.

Open research

Open question
When the first post-0.29.0 tagged ord release appears, verify which of the current master recursive endpoints ship in that release.
Open question
Locate the earliest mainnet inscriptions that used recursive endpoints and distinguish demonstrations from sustained production use.
Open question
Reconstruct the endpoint namespace chronologically so BOMB can show exactly when each recursive capability entered the implementation.