Skip to content
Open
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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ Unreleased changes are in the `master` branch.

- New `/assets/{asset}/utxos` endpoint returning unspent UTxOs containing a specified native asset

### Changed

- Redeemer `purpose` enums (`/txs/{hash}/redeemers`, `/scripts/{script_hash}/redeemers`, `/mempool/{hash}`) now include the Conway governance purposes `vote` and `propose`. db-sync stores these purposes since Conway, and the API already returns them; the schema now permits what the backends emit.

## [0.1.91] - 2026-07-29

### Added
Expand Down
6 changes: 6 additions & 0 deletions blockfrost-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9539,6 +9539,8 @@ components:
- mint
- cert
- reward
- vote
- propose
example: spend
description: Validation purpose
script_hash:
Expand Down Expand Up @@ -10371,6 +10373,8 @@ components:
- mint
- cert
- reward
- vote
- propose
example: spend
description: Validation purpose
unit_mem:
Expand Down Expand Up @@ -11873,6 +11877,8 @@ components:
- mint
- cert
- reward
- vote
- propose
example: spend
description: Validation purpose
redeemer_data_hash:
Expand Down
6 changes: 6 additions & 0 deletions docs/blockfrost-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10120,6 +10120,8 @@ components:
- mint
- cert
- reward
- vote
- propose
example: spend
description: Validation purpose
script_hash:
Expand Down Expand Up @@ -11017,6 +11019,8 @@ components:
- mint
- cert
- reward
- vote
- propose
example: spend
description: Validation purpose
unit_mem:
Expand Down Expand Up @@ -12567,6 +12571,8 @@ components:
- mint
- cert
- reward
- vote
- propose
example: spend
description: Validation purpose
redeemer_data_hash:
Expand Down
2 changes: 1 addition & 1 deletion json-schema.json

Large diffs are not rendered by default.

12 changes: 9 additions & 3 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -12873,7 +12873,9 @@
"spend",
"mint",
"cert",
"reward"
"reward",
"vote",
"propose"
],
"example": "spend",
"description": "Validation purpose"
Expand Down Expand Up @@ -14009,7 +14011,9 @@
"spend",
"mint",
"cert",
"reward"
"reward",
"vote",
"propose"
],
"example": "spend",
"description": "Validation purpose"
Expand Down Expand Up @@ -16074,7 +16078,9 @@
"spend",
"mint",
"cert",
"reward"
"reward",
"vote",
"propose"
],
"example": "spend",
"description": "Validation purpose"
Expand Down
6 changes: 6 additions & 0 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10120,6 +10120,8 @@ components:
- mint
- cert
- reward
- vote
- propose
example: spend
description: Validation purpose
script_hash:
Expand Down Expand Up @@ -11017,6 +11019,8 @@ components:
- mint
- cert
- reward
- vote
- propose
example: spend
description: Validation purpose
unit_mem:
Expand Down Expand Up @@ -12567,6 +12571,8 @@ components:
- mint
- cert
- reward
- vote
- propose
example: spend
description: Validation purpose
redeemer_data_hash:
Expand Down
6 changes: 3 additions & 3 deletions src/generated-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9441,7 +9441,7 @@ export interface components {
* @example spend
* @enum {string}
*/
purpose: "spend" | "mint" | "cert" | "reward";
purpose: "spend" | "mint" | "cert" | "reward" | "vote" | "propose";
/**
* @description Script hash
* @example ec26b89af41bef0f7585353831cb5da42b5b37185e0c8a526143b824
Expand Down Expand Up @@ -10166,7 +10166,7 @@ export interface components {
* @example spend
* @enum {string}
*/
purpose: "spend" | "mint" | "cert" | "reward";
purpose: "spend" | "mint" | "cert" | "reward" | "vote" | "propose";
/**
* @description The budget in Memory to run a script
* @example 1700
Expand Down Expand Up @@ -11469,7 +11469,7 @@ export interface components {
* @example spend
* @enum {string}
*/
purpose: "spend" | "mint" | "cert" | "reward";
purpose: "spend" | "mint" | "cert" | "reward" | "vote" | "propose";
/**
* @description Datum hash of the redeemer
* @example 923918e403bf43c34b4ef6b48eb2ee04babed17320d8d1b9ff9ad086e86f44ec
Expand Down
2 changes: 1 addition & 1 deletion src/schemas/mempool/mempool_tx_content.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ properties:
description: Index of the redeemer within the transaction
purpose:
type: string
enum: [spend, mint, cert, reward]
enum: [spend, mint, cert, reward, vote, propose]
example: "spend"
description: Validation purpose
unit_mem:
Expand Down
2 changes: 1 addition & 1 deletion src/schemas/scripts/script_redeemers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ items:
description: The index of the redeemer pointer in the transaction
purpose:
type: string
enum: [spend, mint, cert, reward]
enum: [spend, mint, cert, reward, vote, propose]
example: "spend"
description: Validation purpose
redeemer_data_hash:
Expand Down
2 changes: 1 addition & 1 deletion src/schemas/txs/tx_content_redeemers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ items:
description: Index of the redeemer within the transaction
purpose:
type: string
enum: [spend, mint, cert, reward]
enum: [spend, mint, cert, reward, vote, propose]
example: "spend"
description: Validation purpose
script_hash:
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 @@ -19013,6 +19013,8 @@ State \`gc\` means that a previously \`unpinned\` item has been garbage collecte
"mint",
"cert",
"reward",
"vote",
"propose",
],
"example": "spend",
"type": "string",
Expand Down Expand Up @@ -25449,6 +25451,8 @@ relative to the start of the network
"mint",
"cert",
"reward",
"vote",
"propose",
],
"example": "spend",
"type": "string",
Expand Down Expand Up @@ -27746,6 +27750,8 @@ relative to the start of the network
"mint",
"cert",
"reward",
"vote",
"propose",
],
"example": "spend",
"type": "string",
Expand Down
Loading