ordinals / ord

👁‍🗨 Rare and exotic sats
https://ordinals.com
Creative Commons Zero v1.0 Universal
3.85k stars 1.38k forks source link

Also return the runeID (block:tx) in on the output endpoints #3863

Closed pxr64 closed 3 weeks ago

pxr64 commented 3 months ago

Currently, the output endpoints only return the rune name and we need to make subsequent calls to return each rune ID.

cryptoni9n commented 3 months ago

Currently, the output endpoints only return the rune name and we need to make subsequent calls to return each rune ID.

Hi @pxr64 - my feeling is that this is by design since neither the Rune ID nor the block:tx is shown on the output page in ord (example). Therefore ord doesn't currently consider it to be info about the output that it should return. If we want to add this data to the output page and the output endpoint, I think that would be fine. However, I'm not sure if this was left off purposefully as being superfluous or cluttering to the other information about the output. @raphjaph what do you think?

edit: maybe it would be a better addition to #3675?

raphjaph commented 2 months ago

I think we could probably add this to the JSON version of this endpoint.

raphjaph commented 1 month ago

Would something like this help? https://github.com/ordinals/ord/pull/3971

raphjaph commented 3 weeks ago

Haven't heard back so going to close this, please reopen or comment on the PR if you still need this.