ordinals / ord

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

Recursion: Get latest child from parent inscription #3923

Open bruffstar opened 2 months ago

bruffstar commented 2 months ago

Currently you need to loop over all pages to get the latest child.

To save multiple calls, would it be possible to adopt something similar to sat number, using at/-1 to get latest...

/r/children/<INSCRIPTION_ID>/inscriptions/at/-1

ChaptaE9 commented 2 months ago

This would be extremely useful, very much needed.

astralarkitekt commented 2 months ago

we were just discussing this in a dev group last week. This would be an amazing value add to ordinals!

Fl1ntstowned commented 2 months ago

I agree 💯

raphjaph commented 2 months ago

Sounds reasonable. Would be happy to review a PR!

twosatsmaxi commented 2 months ago

🤝