BOMBARCHIVE
Explore

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

The archiveOrdinals

Old revision: Ordinal recursion

Align archive handbook with Git-native wiki

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. The current ord documentation describes recursive endpoints as access points to on-chain data, including the content of other inscriptions. Current recursion documentation — first-party repository

Compatibility contract

Recursive endpoints receive backwards-compatibility guarantees that ordinary ord server endpoints do not share. The documentation says recursive endpoints will not be removed, and that object fields they return will not be renamed or change types. New fields may still be added or reordered, so clients are expected to tolerate additional data and must not depend on field order. Current recursion documentation

That promise is unusually important for inscriptions because an inscription may remain immutable while the software serving it continues to change.

Early development

12 June 2023
Casey Rodarmor's PR #2174, “Document recursion”, was merged into ord. It described recursion as an exception to inscription sandboxing and documented compositional uses such as shared code, images and generative assets. Direct repository record
15 June 2023
PR #2175, “Recursive Endpoints”, was merged. The project changelog records recursive access to block hash, block height and block time among the additions. Direct repository record · Project changelog
12 September 2026
ord merged /r/block/<QUERY>, which returns the complete serialized Bitcoin block as a hex-encoded JSON string when queried by height or block hash. The endpoint was proposed in issue #4562 and merged through Casey Rodarmor's PR #4563. Proposal record · Merged implementation

Raw block recursion

The /r/block/<QUERY> endpoint is materially different from asking for a pre-interpreted list of selected block facts. It exposes the serialized block itself. A client can therefore decode the block and its transactions locally according to whatever application logic it implements.

The current documentation gives this endpoint an additional compatibility promise: if Bitcoin transaction serialization changes incompatibly in the future, the endpoint is intended to remain backwards compatible. Current recursion documentation

This does not give an inscription a direct Bitcoin peer-to-peer connection, and it does not remove the ord server from the serving path. It changes what can be reconstructed from the data made available through that path.

Relevance to Bitmap

Bitmap derives Districts from Bitcoin blocks and Parcels from transactions inside those blocks. Raw block recursion therefore gives a Bitmap application running as an inscription a route to retrieve the source block and decode transaction structure locally instead of depending on an application-specific block API.

That is infrastructure, not a change to the Bitmap standard. The endpoint was merged into ord master on 12 September 2026; a merge date should not be silently converted into a claim that every public ord server had deployed it that day.

Open research

Open question
Identify the first tagged ord release that contains /r/block/<QUERY>, rather than treating the master-branch merge as a release event.
Open question
Locate the earliest mainnet inscriptions that used recursive endpoints and distinguish experimental examples from sustained application use.
Open question
Trace the evolution of the recursive endpoint namespace and compatibility policy from the first 2023 implementation to the current /r/ family.