Skip to content

Commit c097f4c

Browse files
committed
feat: /pools/extended ext
1 parent 7b38268 commit c097f4c

File tree

9 files changed

+1204
-8
lines changed

9 files changed

+1204
-8
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Unreleased changes are in the `master` branch.
2020
### Added
2121

2222
- `/blocks/latest/txs/cbor` endpoint
23+
- exposed new attributes `live_saturation`, `blocks_minted`, `declared_pledge`, `margin_cost`, `fixed_cost` and `metadata` in `/pools/extended`
2324

2425
## [0.1.73] - 2025-01-30
2526

blockfrost-openapi.yaml

Lines changed: 158 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9493,24 +9493,182 @@ components:
94939493
type: string
94949494
example: '6900000000'
94959495
description: Currently delegated amount
9496+
live_saturation:
9497+
type: number
9498+
example: 0.93
9499+
blocks_minted:
9500+
type: integer
9501+
example: 69
9502+
description: Total minted blocks
9503+
declared_pledge:
9504+
type: string
9505+
example: '5000000000'
9506+
description: Stake pool certificate pledge
9507+
margin_cost:
9508+
type: number
9509+
example: 0.05
9510+
description: Margin tax cost of the stake pool
9511+
fixed_cost:
9512+
type: string
9513+
example: '340000000'
9514+
description: Fixed tax cost of the stake pool
9515+
metadata:
9516+
type: object
9517+
properties:
9518+
url:
9519+
type: string
9520+
nullable: true
9521+
example: https://stakenuts.com/mainnet.json
9522+
description: URL to the stake pool metadata
9523+
hash:
9524+
type: string
9525+
nullable: true
9526+
example: 47c0c68cb57f4a5b4a87bad896fc274678e7aea98e200fa14a1cb40c0cab1d8c
9527+
description: Hash of the metadata file
9528+
ticker:
9529+
type: string
9530+
nullable: true
9531+
example: NUTS
9532+
description: Ticker of the stake pool
9533+
name:
9534+
type: string
9535+
nullable: true
9536+
example: Stake Nuts
9537+
description: Name of the stake pool
9538+
description:
9539+
type: string
9540+
nullable: true
9541+
example: The best pool ever
9542+
description: Description of the stake pool
9543+
homepage:
9544+
type: string
9545+
nullable: true
9546+
example: https://stakentus.com/
9547+
description: Home page of the stake pool
9548+
required:
9549+
- pool_id
9550+
- hex
9551+
- url
9552+
- hash
9553+
- ticker
9554+
- name
9555+
- description
9556+
- homepage
94969557
required:
94979558
- pool_id
94989559
- hex
94999560
- active_stake
95009561
- live_stake
9562+
- blocks_minted
9563+
- live_saturation
9564+
- declared_pledge
9565+
- margin_cost
9566+
- fixed_cost
95019567
example:
95029568
- pool_id: pool19u64770wqp6s95gkajc8udheske5e6ljmpq33awxk326zjaza0q
95039569
hex: 2f355f79ee007502d116ecb07e36f985b34cebf2d84118f5c6b455a1
95049570
active_stake: '1541200000'
95059571
live_stake: '1541400000'
9572+
blocks_minted:
9573+
type: integer
9574+
example: 69
9575+
description: Total minted blocks
9576+
live_saturation:
9577+
type: number
9578+
example: 0.93
9579+
declared_pledge:
9580+
type: string
9581+
example: '5000000000'
9582+
description: Stake pool certificate pledge
9583+
margin_cost:
9584+
type: number
9585+
example: 0.05
9586+
description: Margin tax cost of the stake pool
9587+
fixed_cost:
9588+
type: string
9589+
example: '340000000'
9590+
description: Fixed tax cost of the stake pool
9591+
metadata:
9592+
type: object
9593+
properties:
9594+
url:
9595+
type: string
9596+
nullable: true
9597+
example: https://stakenuts.com/mainnet.json
9598+
description: URL to the stake pool metadata
9599+
hash:
9600+
type: string
9601+
nullable: true
9602+
example: 47c0c68cb57f4a5b4a87bad896fc274678e7aea98e200fa14a1cb40c0cab1d8c
9603+
description: Hash of the metadata file
9604+
ticker:
9605+
type: string
9606+
nullable: true
9607+
example: NUTS
9608+
description: Ticker of the stake pool
9609+
name:
9610+
type: string
9611+
nullable: true
9612+
example: Stake Nuts
9613+
description: Name of the stake pool
9614+
description:
9615+
type: string
9616+
nullable: true
9617+
example: The best pool ever
9618+
description: Description of the stake pool
9619+
homepage:
9620+
type: string
9621+
nullable: true
9622+
example: https://stakentus.com/
9623+
description: Home page of the stake pool
95069624
- pool_id: pool1dvla4zq98hpvacv20snndupjrqhuc79zl6gjap565nku6et5zdx
95079625
hex: 6b3fda88053dc2cee18a7c2736f032182fcc78a2fe912e869aa4edcd
95089626
active_stake: '22200000'
95099627
live_stake: '48955550'
9628+
blocks_minted:
9629+
type: integer
9630+
example: 69
9631+
description: Total minted blocks
9632+
live_saturation:
9633+
type: number
9634+
example: 0.93
9635+
declared_pledge:
9636+
type: string
9637+
example: '5000000000'
9638+
description: Stake pool certificate pledge
9639+
margin_cost:
9640+
type: number
9641+
example: 0.05
9642+
description: Margin tax cost of the stake pool
9643+
fixed_cost:
9644+
type: string
9645+
example: '340000000'
9646+
description: Fixed tax cost of the stake pool
9647+
metadata: null
95109648
- pool_id: pool1wvccajt4eugjtf3k0ja3exjqdj7t8egsujwhcw4tzj4rzsxzw5w
95119649
hex: 73318ec975cf1125a6367cbb1c9a406cbcb3e510e49d7c3aab14aa31
95129650
active_stake: '9989541215'
95139651
live_stake: '168445464878'
9652+
blocks_minted:
9653+
type: integer
9654+
example: 69
9655+
description: Total minted blocks
9656+
live_saturation:
9657+
type: number
9658+
example: 0.93
9659+
declared_pledge:
9660+
type: string
9661+
example: '5000000000'
9662+
description: Stake pool certificate pledge
9663+
margin_cost:
9664+
type: number
9665+
example: 0.05
9666+
description: Margin tax cost of the stake pool
9667+
fixed_cost:
9668+
type: string
9669+
example: '340000000'
9670+
description: Fixed tax cost of the stake pool
9671+
metadata: null
95149672
pool_list_retire:
95159673
type: array
95169674
items:

docs/blockfrost-openapi.yaml

Lines changed: 160 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10020,24 +10020,184 @@ components:
1002010020
type: string
1002110021
example: '6900000000'
1002210022
description: Currently delegated amount
10023+
live_saturation:
10024+
type: number
10025+
example: 0.93
10026+
blocks_minted:
10027+
type: integer
10028+
example: 69
10029+
description: Total minted blocks
10030+
declared_pledge:
10031+
type: string
10032+
example: '5000000000'
10033+
description: Stake pool certificate pledge
10034+
margin_cost:
10035+
type: number
10036+
example: 0.05
10037+
description: Margin tax cost of the stake pool
10038+
fixed_cost:
10039+
type: string
10040+
example: '340000000'
10041+
description: Fixed tax cost of the stake pool
10042+
metadata:
10043+
type: object
10044+
properties:
10045+
url:
10046+
type: string
10047+
nullable: true
10048+
example: 'https://stakenuts.com/mainnet.json'
10049+
description: URL to the stake pool metadata
10050+
hash:
10051+
type: string
10052+
nullable: true
10053+
example: >-
10054+
47c0c68cb57f4a5b4a87bad896fc274678e7aea98e200fa14a1cb40c0cab1d8c
10055+
description: Hash of the metadata file
10056+
ticker:
10057+
type: string
10058+
nullable: true
10059+
example: NUTS
10060+
description: Ticker of the stake pool
10061+
name:
10062+
type: string
10063+
nullable: true
10064+
example: Stake Nuts
10065+
description: Name of the stake pool
10066+
description:
10067+
type: string
10068+
nullable: true
10069+
example: The best pool ever
10070+
description: Description of the stake pool
10071+
homepage:
10072+
type: string
10073+
nullable: true
10074+
example: 'https://stakentus.com/'
10075+
description: Home page of the stake pool
10076+
required:
10077+
- pool_id
10078+
- hex
10079+
- url
10080+
- hash
10081+
- ticker
10082+
- name
10083+
- description
10084+
- homepage
1002310085
required:
1002410086
- pool_id
1002510087
- hex
1002610088
- active_stake
1002710089
- live_stake
10090+
- blocks_minted
10091+
- live_saturation
10092+
- declared_pledge
10093+
- margin_cost
10094+
- fixed_cost
1002810095
example:
1002910096
- pool_id: pool19u64770wqp6s95gkajc8udheske5e6ljmpq33awxk326zjaza0q
1003010097
hex: 2f355f79ee007502d116ecb07e36f985b34cebf2d84118f5c6b455a1
1003110098
active_stake: '1541200000'
1003210099
live_stake: '1541400000'
10100+
blocks_minted:
10101+
type: integer
10102+
example: 69
10103+
description: Total minted blocks
10104+
live_saturation:
10105+
type: number
10106+
example: 0.93
10107+
declared_pledge:
10108+
type: string
10109+
example: '5000000000'
10110+
description: Stake pool certificate pledge
10111+
margin_cost:
10112+
type: number
10113+
example: 0.05
10114+
description: Margin tax cost of the stake pool
10115+
fixed_cost:
10116+
type: string
10117+
example: '340000000'
10118+
description: Fixed tax cost of the stake pool
10119+
metadata:
10120+
type: object
10121+
properties:
10122+
url:
10123+
type: string
10124+
nullable: true
10125+
example: 'https://stakenuts.com/mainnet.json'
10126+
description: URL to the stake pool metadata
10127+
hash:
10128+
type: string
10129+
nullable: true
10130+
example: >-
10131+
47c0c68cb57f4a5b4a87bad896fc274678e7aea98e200fa14a1cb40c0cab1d8c
10132+
description: Hash of the metadata file
10133+
ticker:
10134+
type: string
10135+
nullable: true
10136+
example: NUTS
10137+
description: Ticker of the stake pool
10138+
name:
10139+
type: string
10140+
nullable: true
10141+
example: Stake Nuts
10142+
description: Name of the stake pool
10143+
description:
10144+
type: string
10145+
nullable: true
10146+
example: The best pool ever
10147+
description: Description of the stake pool
10148+
homepage:
10149+
type: string
10150+
nullable: true
10151+
example: 'https://stakentus.com/'
10152+
description: Home page of the stake pool
1003310153
- pool_id: pool1dvla4zq98hpvacv20snndupjrqhuc79zl6gjap565nku6et5zdx
1003410154
hex: 6b3fda88053dc2cee18a7c2736f032182fcc78a2fe912e869aa4edcd
1003510155
active_stake: '22200000'
1003610156
live_stake: '48955550'
10157+
blocks_minted:
10158+
type: integer
10159+
example: 69
10160+
description: Total minted blocks
10161+
live_saturation:
10162+
type: number
10163+
example: 0.93
10164+
declared_pledge:
10165+
type: string
10166+
example: '5000000000'
10167+
description: Stake pool certificate pledge
10168+
margin_cost:
10169+
type: number
10170+
example: 0.05
10171+
description: Margin tax cost of the stake pool
10172+
fixed_cost:
10173+
type: string
10174+
example: '340000000'
10175+
description: Fixed tax cost of the stake pool
10176+
metadata: null
1003710177
- pool_id: pool1wvccajt4eugjtf3k0ja3exjqdj7t8egsujwhcw4tzj4rzsxzw5w
1003810178
hex: 73318ec975cf1125a6367cbb1c9a406cbcb3e510e49d7c3aab14aa31
1003910179
active_stake: '9989541215'
1004010180
live_stake: '168445464878'
10181+
blocks_minted:
10182+
type: integer
10183+
example: 69
10184+
description: Total minted blocks
10185+
live_saturation:
10186+
type: number
10187+
example: 0.93
10188+
declared_pledge:
10189+
type: string
10190+
example: '5000000000'
10191+
description: Stake pool certificate pledge
10192+
margin_cost:
10193+
type: number
10194+
example: 0.05
10195+
description: Margin tax cost of the stake pool
10196+
fixed_cost:
10197+
type: string
10198+
example: '340000000'
10199+
description: Fixed tax cost of the stake pool
10200+
metadata: null
1004110201
pool_list_retire:
1004210202
type: array
1004310203
items:

json-schema.json

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

0 commit comments

Comments
 (0)