Skip to content

Commit 718f087

Browse files
committed
fix: add stake address registration state in registered
1 parent 1bf5353 commit 718f087

11 files changed

Lines changed: 60 additions & 10 deletions

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,16 @@ Unreleased changes are in the `master` branch.
99

1010
## [Unreleased]
1111

12+
## [0.1.85] - 2026-02-11
13+
14+
### Added
15+
16+
- New `registered` field in `/accounts/:stake_address` response indicating whether the stake address is currently registered
17+
18+
### Fixed
19+
20+
- description for `active` field in `/accounts/:stake_address` response to clarify it represents delegation state
21+
1222
## [0.1.84] - 2025-11-27
1323

1424
### Added
@@ -599,7 +609,6 @@ Unreleased changes are in the `master` branch.
599609
### Added
600610
601611
- Alonzo support related additions
602-
603612
- `/scripts` endpoint for listing all scripts
604613
- `/scripts/{hash}` endpoint for script details
605614
- `/scripts/{hash}/redeemers` endpoint for listing reedemers of a script

blockfrost-openapi.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openapi: 3.0.0
22
info:
3-
version: 0.1.84
3+
version: 0.1.85
44
title: Blockfrost.io ~ API Documentation
55
x-logo:
66
url: https://staging.blockfrost.io/images/logo.svg
@@ -8820,6 +8820,10 @@ components:
88208820
example: stake1ux3g2c9dx2nhhehyrezyxpkstartcqmu9hk63qgfkccw5rqttygt7
88218821
description: Bech32 stake address
88228822
active:
8823+
type: boolean
8824+
example: true
8825+
description: Delegation state of the account. **Note:** For registration state, use the `registered` field instead.
8826+
registered:
88238827
type: boolean
88248828
example: true
88258829
description: Registration state of an account
@@ -8865,6 +8869,7 @@ components:
88658869
required:
88668870
- stake_address
88678871
- active
8872+
- registered
88688873
- active_epoch
88698874
- controlled_amount
88708875
- rewards_sum

docs/blockfrost-openapi.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openapi: 3.0.3
22
info:
3-
version: 0.1.84
3+
version: 0.1.85
44
title: Blockfrost.io ~ API Documentation
55
x-logo:
66
url: 'https://staging.blockfrost.io/images/logo.svg'
@@ -9296,6 +9296,12 @@ components:
92969296
example: stake1ux3g2c9dx2nhhehyrezyxpkstartcqmu9hk63qgfkccw5rqttygt7
92979297
description: Bech32 stake address
92989298
active:
9299+
type: boolean
9300+
example: true
9301+
description: >-
9302+
Delegation state of the account. **Note:** For registration state,
9303+
use the `registered` field instead.
9304+
registered:
92999305
type: boolean
93009306
example: true
93019307
description: Registration state of an account
@@ -9343,6 +9349,7 @@ components:
93439349
required:
93449350
- stake_address
93459351
- active
9352+
- registered
93469353
- active_epoch
93479354
- controlled_amount
93489355
- rewards_sum

json-schema.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

openapi.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"openapi": "3.0.3",
33
"info": {
4-
"version": "0.1.84",
4+
"version": "0.1.85",
55
"title": "Blockfrost.io ~ API Documentation",
66
"x-logo": {
77
"url": "https://staging.blockfrost.io/images/logo.svg",
@@ -11990,6 +11990,11 @@
1199011990
"description": "Bech32 stake address"
1199111991
},
1199211992
"active": {
11993+
"type": "boolean",
11994+
"example": true,
11995+
"description": "Delegation state of the account. **Note:** For registration state, use the `registered` field instead."
11996+
},
11997+
"registered": {
1199311998
"type": "boolean",
1199411999
"example": true,
1199512000
"description": "Registration state of an account"
@@ -12046,6 +12051,7 @@
1204612051
"required": [
1204712052
"stake_address",
1204812053
"active",
12054+
"registered",
1204912055
"active_epoch",
1205012056
"controlled_amount",
1205112057
"rewards_sum",

openapi.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openapi: 3.0.3
22
info:
3-
version: 0.1.84
3+
version: 0.1.85
44
title: Blockfrost.io ~ API Documentation
55
x-logo:
66
url: 'https://staging.blockfrost.io/images/logo.svg'
@@ -9296,6 +9296,12 @@ components:
92969296
example: stake1ux3g2c9dx2nhhehyrezyxpkstartcqmu9hk63qgfkccw5rqttygt7
92979297
description: Bech32 stake address
92989298
active:
9299+
type: boolean
9300+
example: true
9301+
description: >-
9302+
Delegation state of the account. **Note:** For registration state,
9303+
use the `registered` field instead.
9304+
registered:
92999305
type: boolean
93009306
example: true
93019307
description: Registration state of an account
@@ -9343,6 +9349,7 @@ components:
93439349
required:
93449350
- stake_address
93459351
- active
9352+
- registered
93469353
- active_epoch
93479354
- controlled_amount
93489355
- rewards_sum

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@blockfrost/openapi",
3-
"version": "0.1.84",
3+
"version": "0.1.85",
44
"description": "OpenAPI specifications for blockfrost.io",
55
"repository": "git@github.com:blockfrost/openapi.git",
66
"author": "admin@blockfrost.io",

src/definitions.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openapi: 3.0.0
22
info:
3-
version: 0.1.84
3+
version: 0.1.85
44
title: Blockfrost.io ~ API Documentation
55
x-logo:
66
url: https://staging.blockfrost.io/images/logo.svg

src/generated-types.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8892,10 +8892,15 @@ export interface components {
88928892
*/
88938893
stake_address: string;
88948894
/**
8895-
* @description Registration state of an account
8895+
* @description Delegation state of the account. **Note:** For registration state, use the `registered` field instead.
88968896
* @example true
88978897
*/
88988898
active: boolean;
8899+
/**
8900+
* @description Registration state of an account
8901+
* @example true
8902+
*/
8903+
registered: boolean;
88998904
/**
89008905
* @description Epoch of the most recent action - registration or deregistration
89018906
* @example 412

src/schemas/accounts/account_content.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ properties:
55
example: stake1ux3g2c9dx2nhhehyrezyxpkstartcqmu9hk63qgfkccw5rqttygt7
66
description: Bech32 stake address
77
active:
8+
type: boolean
9+
example: true
10+
description: "Delegation state of the account. **Note:** For registration state, use the `registered` field instead."
11+
registered:
812
type: boolean
913
example: true
1014
description: Registration state of an account
@@ -51,6 +55,7 @@ properties:
5155
required:
5256
- stake_address
5357
- active
58+
- registered
5459
- active_epoch
5560
- controlled_amount
5661
- rewards_sum

0 commit comments

Comments
 (0)