-
Notifications
You must be signed in to change notification settings - Fork 54
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
TIP-26 UTXO Indexer REST API #62
Conversation
For
but hornet currently returns
without the |
- Remove data envelope - Change paging mechanism, use cursor instead of offset - Rename response fields
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.
Extended outputs need to be renamed to basic outputs
Done! |
name: cursor | ||
schema: | ||
type: string | ||
example: 0c78e998f5177834ecb3bae1596d5056af76e487386eecb19727465b4be86a790200.10 |
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.
Is the length of the example correct here? confirmationMs
should be 8 digits and outputId
should be 68 digits. So everything up until the .
should be 76 digits, but it's only 68 digits long.
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.
You are right, the examples need to be updated with realisitc values from an actual network.
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.
Aaah, Germans
imo this should be renamed to related to that, could we have |
UTXO Indexer REST API specification for the Stardust update.
Complements #57 by exposing UTXO specific routes from an opt-in node indexer plugin or standalone application:
api/indexer/v1/outputs/basic
: for fetching Basic Outputsapi/indexer/v1/outputs/alias
: for fetching Alias Outputsapi/indexer/v1/outputs/foundry
: for fetching Foundry Outputsapi/indexer/v1/outputs/nft
: for fetching NFT OutputsAll routes support additional query parameters to filter outputs based on content. The output objects can be fetched from the core API based on the returned
outputIds
.Rendered document