-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Implement additional JSON endpoints (/inscription, /inscriptions) and bugfixes on /sat #2323
Conversation
…ing StatusCode::NOT_ACCEPTABLE early, and from a single place. Implement JSON endpoint for /inscription
- Added corresponding test inscribing on a common sat. - Change timestamp format to actual (i64) timestamp for their universality, compactness, ease of computation and language and platform agnosticism.
- Add route `/inscriptions/block` to retrieve all inscriptions made in a given block. This makes it easy to retrieve new inscriptions as blocks are mined.
A topic to think about is the order of inscriptions returned by the various |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Implement JSON endpoint for /inscription
Move check if JSON API is enabled into AcceptJson. This allows returning StatusCode::NOT_ACCEPTABLE early, and from a single place.