ordinals/ord

Add r/inscriptions/block/<BLOCK_HEIGHT> to retrieve inscription ID's

Open

#3,765 opened on May 17, 2024

View on GitHub
 (8 comments) (19 reactions) (0 assignees)Rust (1,479 forks)github user discovery
enhancementgood first issue

Repository metrics

Stars
 (3,955 stars)
PR merge metrics
 (PR metrics pending)

Description

Let's mirror the explorer feature of retrieving inscriptions from blocks. This could be done simply with the following recursive endpoint:

r/inscriptions/block/<BLOCK_HEIGHT> : query any block height and return inscription ID's on that block

Should only need to return inscription ID as we can gather INFO, CONTENT, METADATA, and PARENT/CHILD recursively from ID.

Specifically, this would allow inscription-based indexers to be built, which is vital for the future of bitmap and other namespaces.

Contributor guide