BOMBARCHIVE
Explore

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

The archiveOrdinals

Old revision: Ordinal recursion

Archive properties recursion boundary

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

Endpoint Returns What it enables
/content/<INSCRIPTION_ID> Raw content of another inscription Shared code, images, audio, stylesheets, fonts and other reusable resources.

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

Endpoint Returns What it enables
/r/block/<QUERY> Complete serialized Bitcoin block, queried by height or hash, hex encoded Local block and transaction decoding inside an inscription.
/r/blockhash Latest block hash Tip-aware applications.
/r/blockhash/<HEIGHT> Block hash at a given height Height-to-hash resolution.
/r/blockheight Latest block height Current-chain-height logic.
/r/blockinfo/<QUERY> Structured block information for a height or hash Fee, size, difficulty and other block-level applications without decoding the full block.
/r/blocktime Latest block header timestamp Time-aware interfaces, with the usual limits described at Bitcoin time.

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

Endpoint Returns What it enables
/r/children/<INSCRIPTION_ID> First 100 child inscription IDs Parent-child collection discovery.
/r/children/<INSCRIPTION_ID>/<PAGE> A page of 100 child IDs Large collection pagination.
/r/children/<INSCRIPTION_ID>/inscriptions Details for first 100 child inscriptions Rich child browsers without one request per child.
/r/children/<INSCRIPTION_ID>/inscriptions/<PAGE> Paginated child details Large hierarchy traversal.
/r/parents/<INSCRIPTION_ID> First 100 parent inscription IDs Reverse provenance traversal.
/r/parents/<INSCRIPTION_ID>/<PAGE> A page of parent IDs Multi-parent pagination.
/r/parents/<INSCRIPTION_ID>/inscriptions Details for first 100 parent inscriptions Rich ancestry interfaces.
/r/parents/<INSCRIPTION_ID>/inscriptions/<PAGE> Paginated parent details Larger ancestry graphs.
/r/inscription/<INSCRIPTION_ID> Structured information about an inscription Index-aware inscription applications.
/r/metadata/<INSCRIPTION_ID> Hex-encoded CBOR metadata in JSON Metadata-aware rendering and application logic.
/r/undelegated-content/<INSCRIPTION_ID> The target inscription's own content rather than delegated content Inspection of the original body behind delegation.

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:

Endpoint Returns What it enables
/r/sat/<SAT_NUMBER> First 100 inscription IDs on a sat Sat-centric inscription discovery.
/r/sat/<SAT_NUMBER>/<PAGE> Paginated inscription IDs Reinscription histories on heavily used sats.
/r/sat/<SAT_NUMBER>/at/<INDEX> Inscription ID at a positive or negative index First/latest/Nth inscription lookup.
/r/sat/<SAT_NUMBER>/at/<INDEX>/content Content of the indexed inscription Direct content selection from a sat's inscription stack.

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

Transaction and UTXO data

Endpoint Returns What it enables
/r/tx/<TRANSACTION_ID> Serialized transaction hex Local Bitcoin transaction decoding.
/r/utxo/<OUTPOINT> UTXO value plus indexed inscriptions, runes and sat ranges when the corresponding indices are available Asset-aware UTXO inspection and ownership-state interfaces.

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.

Proposals are not endpoints

The ordinary explorer surface and the recursive namespace overlap, but they are not the same thing. A capability visible on an ord server page does not automatically mean an inscription can call it recursively. BOMB therefore records proposal, implementation, merge, release and deployment as separate states.

Address data remains an open recursion problem

On 26 February 2024, Casey Rodarmor opened ord issue #3173 requesting a paginated recursive endpoint for the inscriptions held by an address. A later commenter explicitly noted that the ordinary GET /address/<ADDRESS> route had appeared while a recursive equivalent had not. The issue remains open as of 28 September 2026. Open address-recursion issue

On 12 February 2026, Bitoshi Blockamoto opened the “Recursion Improvement Proposal” discussion #4480, widening that idea into a proposed family: /r/address/<address>, plus narrower /sats, /tx and /inscriptions forms. The same discussion proposed block-transaction, block-inscription, properties, gallery, metaprotocol and self-inscription routes. These are proposal records, not evidence that the endpoints shipped. The current recursion documentation still does not list an /r/address route. Recursion Improvement Proposal · Current recursion documentation

Properties and galleries expose the API/recursion split

Properties and galleries provide a clean example of why BOMB separates ordinary server APIs from recursion. ord 0.24.0 exposed properties in the inscription JSON API, and 0.28.0 added an ordinary /gallery API endpoint. Neither release made those values recursively callable from inscription code. ord 0.24.0 release · ord 0.28.0 release

Discussion #4480 had already proposed recursive properties and gallery access. Two implementation pull requests followed: PR #4500 on 11 March 2026 proposed paginated /r/gallery/<INSCRIPTION_ID> routes, including richer inscription-detail variants, and PR #4501 on 18 March 2026 proposed /r/properties/<INSCRIPTION_ID> returning decoded properties as JSON. Recursion Improvement Proposal · Gallery-recursion PR · Properties-recursion PR

As of 4 October 2026, both PRs remain open and the current master recursion documentation lists neither route. Their existence is evidence of active implementation work, not evidence that recursive inscriptions can rely on those endpoints yet. Current recursion documentation

The raw-block endpoint grew out of a narrower proposal

Discussion #4480 originally proposed /r/block/<height-or-hash>/tx, returning the transactions in a block. Dave4506 opened PR #4496 for that route on 10 March 2026. The PR remains open and unmerged as of 1 October 2026. Open block-transactions PR

On 5 September 2026, Blockamoto argued in that PR that returning the complete block hex would be a more general primitive: a caller could decode transactions locally and avoid fetching every transaction again through /r/tx. The next day, issue #4562 proposed /r/block/<QUERY> with a tested implementation. Casey then implemented and merged PR #4563 on 12 September. Design-shift comment · Raw-block proposal · Merged raw-block implementation

The evidence supports a design progression from a server-selected transaction list toward a lower-level raw-block primitive. It does not prove that PR #4496 was formally rejected or superseded: that PR is still open. BOMB therefore records the generalization without inventing a maintainer decision that the public record does not contain.

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
20 June 2023
Patrick Collins published a first-person walkthrough of a playable NES inscription assembled from recursive dependencies. His HTML loaded inscription 3a4575b2a8fe6e7968146f290d494c2346d40ff692314050babcaa7268347f4bi0 through /content/ as the JSNES emulator and licence, then loaded separately inscribed application code, stylesheet and artwork around the game ROM. This is contemporary evidence of recursion being used as a modular application mechanism within days of the first recursion documentation, not merely proposed as an abstract capability. Contemporary creator walkthrough · Ordinals Public Goods
1–7 November 2023
PR #2604 added /r/metadata/<INSCRIPTION_ID> on 1 November; it shipped in ord 0.11.0 on 7 November. This separated inscription metadata from inscription content as a recursively queryable object. Metadata recursion PR · 0.11.0 release
23–24 November 2023
PR #2680 merged sat-based recursive lookup with pagination and positional indexing on 23 November, shipping in ord 0.12.0 the next day. The same 0.12.0 release also shipped PR #2431, the first /r/children/<INSCRIPTION_ID> recursive endpoint. Sat stacks and parent-child descendants therefore became first-class recursive address spaces in the same tagged release. Sat recursion PR · Children recursion PR · 0.12.0 release
21 February–11 March 2024
PR #2628 merged /r/inscription/<INSCRIPTION_ID> on 21 February and shipped in ord 0.16.0 on 11 March. Recursive inscriptions could now request structured inscription details rather than only content, metadata or relationship lists. Inscription-details PR · 0.16.0 release
26 February 2024
Casey Rodarmor opened issue #3173 for a paginated recursive endpoint exposing the inscriptions held by an address. The issue remained open in the archive's 1 October 2026 check, making it a long-lived example of the gap between explorer-visible address data and the recursive API. Direct issue record
22 May–9 July 2024
PR #3749 merged the first /r/parents/<INSCRIPTION_ID> and paginated parent-ID routes on 22 May. PR #3771 followed on 30 May with richer child-inscription responses instead of IDs alone. Both shipped in ord 0.19.0 on 9 July. This came after multi-parent indexing itself, which had shipped in 0.17.0, so provenance could be indexed before inscriptions had a recursive reverse-ancestry endpoint, and child IDs were recursively available before richer child objects. Parent recursion PR · Rich child recursion PR · 0.19.0 release · Inscription provenance
26 October 2024
PR #3932 added /r/undelegated-content/<INSCRIPTION_ID> and shipped the same day in ord 0.21.2. A delegated inscription could now recursively recover its own original body rather than only the content selected by its delegate. Undelegated-content PR · 0.21.2 release · Inscription delegation
23 December 2024
PR #4148 added /r/utxo/<OUTPOINT> and shipped the same day in ord 0.22.1. This extended recursion from inscription- and sat-centric queries to an unspent-output view that can expose value and indexed assets. The route was later moved into the dedicated recursive module by PR #4287 on 21 March 2025, a code-organization change that shipped in 0.23.0 rather than the route's introduction. UTXO recursion PR · 0.22.1 release · Recursive-module move
24–27 January 2025
PR #4113 merged /r/sat/<SAT_NUMBER>/at/<INDEX>/content on 24 January, letting a recursive caller fetch the content of a particular inscription in a sat's stack directly. Three days later, PR #4147 merged /r/tx/<TRANSACTION_ID>, a proxy to Bitcoin Core raw transaction hex. Both shipped in ord 0.22.2 on 27 January. Sat-content PR · Raw-transaction PR · 0.22.2 release
17 February–31 March 2025
PR #4088 merged richer parent-inscription routes, /r/parents/<ID>/inscriptions and its paginated form, on 17 February. They shipped in ord 0.23.0 on 31 March. Parent IDs and parent details therefore have distinct endpoint histories. Direct repository record · 0.23.0 release
12 February–10 March 2026
Blockamoto opened discussion #4480, the “Recursion Improvement Proposal,” cataloguing explorer capabilities he believed were still missing from recursion. Dave4506 singled out the proposed block-transaction route and opened PR #4496 for /r/block/<height-or-hash>/tx. Proposal discussion · Block-transactions PR
5–12 September 2026
In PR #4496, Blockamoto argued for returning complete block hex instead of a transaction list so clients could decode once and compute locally. He opened issue #4562 with a tested raw-block implementation on 6 September. Casey accepted the idea and merged /r/block/<QUERY> through PR #4563 on 12 September. Design-shift comment · Proposal and implementation record · Merged implementation

The sequence is revealing: recursion did not arrive as today's endpoint set in one release. It accumulated in layers: shared resources and chain-tip primitives first, then metadata, sats and children, then structured inscription details, richer provenance and delegation inspection, then raw transaction and UTXO access, and finally complete serialized blocks. For historical claims, “recursion existed” is therefore less precise than naming the endpoint and the ord release that actually exposed it.

Merge, release and deployment

As of 4 October 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
Push the early-use chronology earlier than the documented 20 June 2023 JSNES/NES demonstration if primary records survive, and distinguish one-off demonstrations from sustained production use.
Open question
Complete the remaining early chronology for the chain-tip family (/r/blockhash, /r/blockheight, /r/blockinfo, /r/blocktime) and the original shared /content/<INSCRIPTION_ID> route. The archive now dates metadata, sat, child, inscription-detail, parent, delegation, UTXO and raw-transaction recursion separately.
Open question
Track issue #3173 and discussion #4480 for any eventual /r/address implementation. Do not treat the ordinary explorer address route as recursive until a recursive route is actually merged and documented.
Open question
Track PR #4500 and PR #4501 for gallery/properties recursion. The ordinary inscription JSON and /gallery APIs already exist, but BOMB should not treat their data as recursively callable until the /r/ routes are merged and documented.