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
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@ Unreleased changes are in the `master` branch.

## [Unreleased]

## [0.1.85] - 2026-02-11

### Added

- New `registered` field in `/accounts/:stake_address` response indicating whether the stake address is currently registered

### Fixed

- description for `active` field in `/accounts/:stake_address` response to clarify it represents delegation state

## [0.1.84] - 2025-11-27

### Added
Expand Down Expand Up @@ -599,7 +609,6 @@ Unreleased changes are in the `master` branch.
### Added

- Alonzo support related additions

- `/scripts` endpoint for listing all scripts
- `/scripts/{hash}` endpoint for script details
- `/scripts/{hash}/redeemers` endpoint for listing reedemers of a script
Expand Down
7 changes: 6 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.84
version: 0.1.85
title: Blockfrost.io ~ API Documentation
x-logo:
url: https://staging.blockfrost.io/images/logo.svg
Expand Down Expand Up @@ -8820,6 +8820,10 @@ components:
example: stake1ux3g2c9dx2nhhehyrezyxpkstartcqmu9hk63qgfkccw5rqttygt7
description: Bech32 stake address
active:
type: boolean
example: true
description: Delegation state of the account. **Note:** For registration state, use the `registered` field instead.
registered:
type: boolean
example: true
description: Registration state of an account
Expand Down Expand Up @@ -8865,6 +8869,7 @@ components:
required:
- stake_address
- active
- registered
- active_epoch
- controlled_amount
- rewards_sum
Expand Down
9 changes: 8 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.84
version: 0.1.85
title: Blockfrost.io ~ API Documentation
x-logo:
url: 'https://staging.blockfrost.io/images/logo.svg'
Expand Down Expand Up @@ -9296,6 +9296,12 @@ components:
example: stake1ux3g2c9dx2nhhehyrezyxpkstartcqmu9hk63qgfkccw5rqttygt7
description: Bech32 stake address
active:
type: boolean
example: true
description: >-
Delegation state of the account. **Note:** For registration state,
use the `registered` field instead.
registered:
type: boolean
example: true
description: Registration state of an account
Expand Down Expand Up @@ -9343,6 +9349,7 @@ components:
required:
- stake_address
- active
- registered
- active_epoch
- controlled_amount
- rewards_sum
Expand Down
2 changes: 1 addition & 1 deletion json-schema.json

Large diffs are not rendered by default.

8 changes: 7 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.84",
"version": "0.1.85",
"title": "Blockfrost.io ~ API Documentation",
"x-logo": {
"url": "https://staging.blockfrost.io/images/logo.svg",
Expand Down Expand Up @@ -11990,6 +11990,11 @@
"description": "Bech32 stake address"
},
"active": {
"type": "boolean",
"example": true,
"description": "Delegation state of the account. **Note:** For registration state, use the `registered` field instead."
},
"registered": {
"type": "boolean",
"example": true,
"description": "Registration state of an account"
Expand Down Expand Up @@ -12046,6 +12051,7 @@
"required": [
"stake_address",
"active",
"registered",
"active_epoch",
"controlled_amount",
"rewards_sum",
Expand Down
9 changes: 8 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.84
version: 0.1.85
title: Blockfrost.io ~ API Documentation
x-logo:
url: 'https://staging.blockfrost.io/images/logo.svg'
Expand Down Expand Up @@ -9296,6 +9296,12 @@ components:
example: stake1ux3g2c9dx2nhhehyrezyxpkstartcqmu9hk63qgfkccw5rqttygt7
description: Bech32 stake address
active:
type: boolean
example: true
description: >-
Delegation state of the account. **Note:** For registration state,
use the `registered` field instead.
registered:
type: boolean
example: true
description: Registration state of an account
Expand Down Expand Up @@ -9343,6 +9349,7 @@ components:
required:
- stake_address
- active
- registered
- active_epoch
- controlled_amount
- rewards_sum
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.84",
"version": "0.1.85",
"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 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.84
version: 0.1.85
title: Blockfrost.io ~ API Documentation
x-logo:
url: https://staging.blockfrost.io/images/logo.svg
Expand Down
7 changes: 6 additions & 1 deletion src/generated-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8892,10 +8892,15 @@ export interface components {
*/
stake_address: string;
/**
* @description Registration state of an account
* @description Delegation state of the account. **Note:** For registration state, use the `registered` field instead.
* @example true
*/
active: boolean;
/**
* @description Registration state of an account
* @example true
*/
registered: boolean;
/**
* @description Epoch of the most recent action - registration or deregistration
* @example 412
Expand Down
5 changes: 5 additions & 0 deletions src/schemas/accounts/account_content.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ properties:
example: stake1ux3g2c9dx2nhhehyrezyxpkstartcqmu9hk63qgfkccw5rqttygt7
description: Bech32 stake address
active:
type: boolean
example: true
description: "Delegation state of the account. **Note:** For registration state, use the `registered` field instead."
registered:
type: boolean
example: true
description: Registration state of an account
Expand Down Expand Up @@ -51,6 +55,7 @@ properties:
required:
- stake_address
- active
- registered
- active_epoch
- controlled_amount
- rewards_sum
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ exports[`getSchemaForEndpoint > generateSchemas 1`] = `
"200": {
"properties": {
"active": {
"description": "Registration state of an account",
"description": "Delegation state of the account. **Note:** For registration state, use the \`registered\` field instead.",
"example": true,
"type": "boolean",
},
Expand All @@ -173,6 +173,11 @@ exports[`getSchemaForEndpoint > generateSchemas 1`] = `
"nullable": true,
"type": "string",
},
"registered": {
"description": "Registration state of an account",
"example": true,
"type": "boolean",
},
"reserves_sum": {
"description": "Sum of all funds from reserves for the account in the Lovelaces",
"example": "319154618165",
Expand Down Expand Up @@ -207,6 +212,7 @@ exports[`getSchemaForEndpoint > generateSchemas 1`] = `
"required": [
"stake_address",
"active",
"registered",
"active_epoch",
"controlled_amount",
"rewards_sum",
Expand Down