Skip to content

feat: allow 'latest' search for slots, blocks & epochs#1781

Merged
LuccaBitfly merged 2 commits intostagingfrom
feat/latest-search
Oct 22, 2025
Merged

feat: allow 'latest' search for slots, blocks & epochs#1781
LuccaBitfly merged 2 commits intostagingfrom
feat/latest-search

Conversation

@LuccaBitfly
Copy link
Contributor

@LuccaBitfly LuccaBitfly commented Oct 21, 2025

Allows this:

curl --location 'http://0.0.0.0:8081/api/i/search' \
                                                             --header 'Content-Type: application/json' \
                                                             --data '{
                                                             "input":"latest",
                                                             "types":["epoch"],
                                                             "networks":["hoodi"]
                                                         }'
{"data":[{"type":"epoch","chain_id":560048,"value":{"epoch":49055}}]}

Copy link
Contributor

@manuelsc manuelsc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Contributor

@manuelsc manuelsc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm?

@LuccaBitfly LuccaBitfly merged commit b842cb9 into staging Oct 22, 2025
4 checks passed
@LuccaBitfly LuccaBitfly deleted the feat/latest-search branch October 22, 2025 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants