Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ Unreleased changes are in the `master` branch.

## [Unreleased]

## [0.1.91] - 2026-07-29

### Added

- New query parameters for `/assets/{asset}/transactions`: `from` and `to` — block-range filtering (`block_number[:tx_index]`, inclusive), matching the existing parameters of `/addresses/{address}/transactions`

## [0.1.90] - 2026-06-23

### Added
Expand Down
20 changes: 19 additions & 1 deletion blockfrost-openapi.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.0
info:
version: 0.1.90
version: 0.1.91
title: Blockfrost.io ~ API Documentation
x-logo:
url: https://staging.blockfrost.io/images/logo.svg
Expand Down Expand Up @@ -5284,6 +5284,24 @@ paths:
description: |
The ordering of items from the point of view of the blockchain,
not the page listing itself. By default, we return oldest first, newest last.
- in: query
name: from
required: false
schema:
type: string
description: |
The block number and optionally also index from which (inclusive) to start search for results, concatenated using colon.
Has to be lower than or equal to `to` parameter.
example: '8929261'
- in: query
name: to
required: false
schema:
type: string
description: |
The block number and optionally also index where (inclusive) to end the search for results, concatenated using colon.
Has to be higher than or equal to `from` parameter.
example: '9999269:10'
responses:
'200':
description: Return the information about the history of a specific asset
Expand Down
24 changes: 23 additions & 1 deletion docs/blockfrost-openapi.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.3
info:
version: 0.1.90
version: 0.1.91
title: Blockfrost.io ~ API Documentation
x-logo:
url: 'https://staging.blockfrost.io/images/logo.svg'
Expand Down Expand Up @@ -5574,6 +5574,28 @@ paths:

not the page listing itself. By default, we return oldest first,
newest last.
- in: query
name: from
required: false
schema:
type: string
description: >
The block number and optionally also index from which (inclusive) to
start search for results, concatenated using colon.

Has to be lower than or equal to `to` parameter.
example: '8929261'
- in: query
name: to
required: false
schema:
type: string
description: >
The block number and optionally also index where (inclusive) to end
the search for results, concatenated using colon.

Has to be higher than or equal to `from` parameter.
example: '9999269:10'
responses:
'200':
description: Return the information about the history of a specific asset
Expand Down
2 changes: 1 addition & 1 deletion json-schema.json

Large diffs are not rendered by default.

22 changes: 21 additions & 1 deletion openapi.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
"version": "0.1.90",
"version": "0.1.91",
"title": "Blockfrost.io ~ API Documentation",
"x-logo": {
"url": "https://staging.blockfrost.io/images/logo.svg",
Expand Down Expand Up @@ -7223,6 +7223,26 @@
"default": "asc"
},
"description": "The ordering of items from the point of view of the blockchain,\nnot the page listing itself. By default, we return oldest first, newest last.\n"
},
{
"in": "query",
"name": "from",
"required": false,
"schema": {
"type": "string"
},
"description": "The block number and optionally also index from which (inclusive) to start search for results, concatenated using colon.\nHas to be lower than or equal to `to` parameter.\n",
"example": "8929261"
},
{
"in": "query",
"name": "to",
"required": false,
"schema": {
"type": "string"
},
"description": "The block number and optionally also index where (inclusive) to end the search for results, concatenated using colon.\nHas to be higher than or equal to `from` parameter.\n",
"example": "9999269:10"
}
],
"responses": {
Expand Down
24 changes: 23 additions & 1 deletion openapi.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.3
info:
version: 0.1.90
version: 0.1.91
title: Blockfrost.io ~ API Documentation
x-logo:
url: 'https://staging.blockfrost.io/images/logo.svg'
Expand Down Expand Up @@ -5574,6 +5574,28 @@ paths:

not the page listing itself. By default, we return oldest first,
newest last.
- in: query
name: from
required: false
schema:
type: string
description: >
The block number and optionally also index from which (inclusive) to
start search for results, concatenated using colon.

Has to be lower than or equal to `to` parameter.
example: '8929261'
- in: query
name: to
required: false
schema:
type: string
description: >
The block number and optionally also index where (inclusive) to end
the search for results, concatenated using colon.

Has to be higher than or equal to `from` parameter.
example: '9999269:10'
responses:
'200':
description: Return the information about the history of a specific asset
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@blockfrost/openapi",
"version": "0.1.90",
"version": "0.1.91",
"description": "OpenAPI specifications for blockfrost.io",
"repository": "git@github.com:blockfrost/openapi.git",
"author": "admin@blockfrost.io",
Expand Down
2 changes: 1 addition & 1 deletion rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "blockfrost-openapi"
version = "0.1.90"
version = "0.1.91"
authors = ["contact@blockfrost.io"]
description = "Blockfrost OpenAPI types for Cardano"
license = "MIT"
Expand Down
4 changes: 2 additions & 2 deletions rust/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,8 @@ For more information, please visit [https://blockfrost.io](https://blockfrost.io

This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client.

- API version: 0.1.90
- Package version: 0.1.90
- API version: 0.1.91
- Package version: 0.1.91
- Generator version: 7.20.0
- Build package: `org.openapitools.codegen.languages.RustClientCodegen`

Expand Down
2 changes: 1 addition & 1 deletion src/definitions.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.0
info:
version: 0.1.90
version: 0.1.91
title: Blockfrost.io ~ API Documentation
x-logo:
url: https://staging.blockfrost.io/images/logo.svg
Expand Down
14 changes: 14 additions & 0 deletions src/generated-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5632,6 +5632,20 @@ export interface paths {
* not the page listing itself. By default, we return oldest first, newest last.
* */
order?: "asc" | "desc";
/**
* @description The block number and optionally also index from which (inclusive) to start search for results, concatenated using colon.
* Has to be lower than or equal to `to` parameter.
*
* @example 8929261
*/
from?: string;
/**
* @description The block number and optionally also index where (inclusive) to end the search for results, concatenated using colon.
* Has to be higher than or equal to `from` parameter.
*
* @example 9999269:10
*/
to?: string;
};
header?: never;
path: {
Expand Down
18 changes: 18 additions & 0 deletions src/paths/api/assets/{asset}/transactions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,24 @@ get:
description: |
The ordering of items from the point of view of the blockchain,
not the page listing itself. By default, we return oldest first, newest last.
- in: query
name: from
required: false
schema:
type: string
description: |
The block number and optionally also index from which (inclusive) to start search for results, concatenated using colon.
Has to be lower than or equal to `to` parameter.
example: "8929261"
- in: query
name: to
required: false
schema:
type: string
description: |
The block number and optionally also index where (inclusive) to end the search for results, concatenated using colon.
Has to be higher than or equal to `from` parameter.
example: "9999269:10"
responses:
"200":
description: Return the information about the history of a specific asset
Expand Down
6 changes: 6 additions & 0 deletions test/tests/__snapshots__/get-schema-for-endpoint.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -5665,6 +5665,9 @@ under which it is valid
"minimum": 1,
"type": "integer",
},
"from": {
"type": "string",
},
"order": {
"default": "asc",
"enum": [
Expand All @@ -5679,6 +5682,9 @@ under which it is valid
"minimum": 1,
"type": "integer",
},
"to": {
"type": "string",
},
},
"type": "object",
},
Expand Down
Loading