Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recursion: Get latest child from parent inscription #3923

Open
bruffstar opened this issue Aug 30, 2024 · 5 comments · May be fixed by #3936
Open

Recursion: Get latest child from parent inscription #3923

bruffstar opened this issue Aug 30, 2024 · 5 comments · May be fixed by #3936

Comments

@bruffstar
Copy link

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
Copy link

ChaptaE9 commented Sep 2, 2024

This would be extremely useful, very much needed.

@astralarkitekt
Copy link

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

@Fl1ntstowned
Copy link

I agree 💯

@raphjaph
Copy link
Collaborator

raphjaph commented Sep 3, 2024

Sounds reasonable. Would be happy to review a PR!

@twosatsmaxi
Copy link
Contributor

🤝

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To Do
Development

Successfully merging a pull request may close this issue.

6 participants