ordinals/ord

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

Open

#3765 aperta il 17 mag 2024

Vedi su GitHub
 (8 commenti) (19 reazioni) (0 assegnatari)Rust (1479 fork)github user discovery
enhancementgood first issue

Metriche repository

Star
 (3955 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor