feat: from to in asset transactions - #462
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
Pull request overview
Adds block-range filtering to the Asset transactions endpoint by introducing from and to query parameters, aligning /assets/{asset}/transactions with the existing behavior on /addresses/{address}/transactions.
Changes:
- Added
fromandtoquery parameters to/assets/{asset}/transactions(block rangeblock_number[:tx_index], inclusive). - Regenerated published OpenAPI artifacts (YAML/JSON), TypeScript generated types, and the schema snapshot.
- Documented the change in
CHANGELOG.md.
Reviewed changes
Copilot reviewed 8 out of 9 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| test/tests/snapshots/get-schema-for-endpoint.test.ts.snap | Updates schema snapshot to include from/to querystring properties for the assets transactions endpoint. |
| src/paths/api/assets/{asset}/transactions.yaml | Source OpenAPI path change adding from/to query params and descriptions/examples. |
| src/generated-types.ts | Regenerated TS types to include from?: string and to?: string for the endpoint query params. |
| openapi.yaml | Regenerated bundled OpenAPI YAML reflecting the new query parameters. |
| openapi.json | Regenerated bundled OpenAPI JSON reflecting the new query parameters. |
| docs/blockfrost-openapi.yaml | Updates documentation OpenAPI YAML with the new query parameters. |
| CHANGELOG.md | Notes the newly added query parameters for /assets/{asset}/transactions. |
| blockfrost-openapi.yaml | Updates the published spec variant with the new query parameters. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
mmahut
marked this pull request as ready for review
July 29, 2026 08:19
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
slowbackspace
approved these changes
Jul 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.