Skip to content

Commit 684847a

Browse files
committed
feat: /pools/extended ext
1 parent 70ee53a commit 684847a

8 files changed

Lines changed: 1009 additions & 8 deletions

File tree

CHANGELOG.md

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

1616
- `/blocks/latest/txs/cbor` endpoint
17+
- exposed new attributes `live_saturation`, `blocks_minted`, `declared_pledge`, `margin_cost`, `fixed_cost` and `metadata` in `/pools/metadata`
1718

1819
## [0.1.73] - 2025-01-30
1920

blockfrost-openapi.yaml

Lines changed: 158 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9428,24 +9428,182 @@ components:
94289428
type: string
94299429
example: '6900000000'
94309430
description: Currently delegated amount
9431+
live_saturation:
9432+
type: number
9433+
example: 0.93
9434+
blocks_minted:
9435+
type: integer
9436+
example: 69
9437+
description: Total minted blocks
9438+
declared_pledge:
9439+
type: string
9440+
example: '5000000000'
9441+
description: Stake pool certificate pledge
9442+
margin_cost:
9443+
type: number
9444+
example: 0.05
9445+
description: Margin tax cost of the stake pool
9446+
fixed_cost:
9447+
type: string
9448+
example: '340000000'
9449+
description: Fixed tax cost of the stake pool
9450+
metadata:
9451+
type: object
9452+
properties:
9453+
url:
9454+
type: string
9455+
nullable: true
9456+
example: https://stakenuts.com/mainnet.json
9457+
description: URL to the stake pool metadata
9458+
hash:
9459+
type: string
9460+
nullable: true
9461+
example: 47c0c68cb57f4a5b4a87bad896fc274678e7aea98e200fa14a1cb40c0cab1d8c
9462+
description: Hash of the metadata file
9463+
ticker:
9464+
type: string
9465+
nullable: true
9466+
example: NUTS
9467+
description: Ticker of the stake pool
9468+
name:
9469+
type: string
9470+
nullable: true
9471+
example: Stake Nuts
9472+
description: Name of the stake pool
9473+
description:
9474+
type: string
9475+
nullable: true
9476+
example: The best pool ever
9477+
description: Description of the stake pool
9478+
homepage:
9479+
type: string
9480+
nullable: true
9481+
example: https://stakentus.com/
9482+
description: Home page of the stake pool
9483+
required:
9484+
- pool_id
9485+
- hex
9486+
- url
9487+
- hash
9488+
- ticker
9489+
- name
9490+
- description
9491+
- homepage
94319492
required:
94329493
- pool_id
94339494
- hex
94349495
- active_stake
94359496
- live_stake
9497+
- blocks_minted
9498+
- live_saturation
9499+
- declared_pledge
9500+
- margin_cost
9501+
- fixed_cost
94369502
example:
94379503
- pool_id: pool19u64770wqp6s95gkajc8udheske5e6ljmpq33awxk326zjaza0q
94389504
hex: 2f355f79ee007502d116ecb07e36f985b34cebf2d84118f5c6b455a1
94399505
active_stake: '1541200000'
94409506
live_stake: '1541400000'
9507+
blocks_minted:
9508+
type: integer
9509+
example: 69
9510+
description: Total minted blocks
9511+
live_saturation:
9512+
type: number
9513+
example: 0.93
9514+
declared_pledge:
9515+
type: string
9516+
example: '5000000000'
9517+
description: Stake pool certificate pledge
9518+
margin_cost:
9519+
type: number
9520+
example: 0.05
9521+
description: Margin tax cost of the stake pool
9522+
fixed_cost:
9523+
type: string
9524+
example: '340000000'
9525+
description: Fixed tax cost of the stake pool
9526+
metadata:
9527+
type: object
9528+
properties:
9529+
url:
9530+
type: string
9531+
nullable: true
9532+
example: https://stakenuts.com/mainnet.json
9533+
description: URL to the stake pool metadata
9534+
hash:
9535+
type: string
9536+
nullable: true
9537+
example: 47c0c68cb57f4a5b4a87bad896fc274678e7aea98e200fa14a1cb40c0cab1d8c
9538+
description: Hash of the metadata file
9539+
ticker:
9540+
type: string
9541+
nullable: true
9542+
example: NUTS
9543+
description: Ticker of the stake pool
9544+
name:
9545+
type: string
9546+
nullable: true
9547+
example: Stake Nuts
9548+
description: Name of the stake pool
9549+
description:
9550+
type: string
9551+
nullable: true
9552+
example: The best pool ever
9553+
description: Description of the stake pool
9554+
homepage:
9555+
type: string
9556+
nullable: true
9557+
example: https://stakentus.com/
9558+
description: Home page of the stake pool
94419559
- pool_id: pool1dvla4zq98hpvacv20snndupjrqhuc79zl6gjap565nku6et5zdx
94429560
hex: 6b3fda88053dc2cee18a7c2736f032182fcc78a2fe912e869aa4edcd
94439561
active_stake: '22200000'
94449562
live_stake: '48955550'
9563+
blocks_minted:
9564+
type: integer
9565+
example: 69
9566+
description: Total minted blocks
9567+
live_saturation:
9568+
type: number
9569+
example: 0.93
9570+
declared_pledge:
9571+
type: string
9572+
example: '5000000000'
9573+
description: Stake pool certificate pledge
9574+
margin_cost:
9575+
type: number
9576+
example: 0.05
9577+
description: Margin tax cost of the stake pool
9578+
fixed_cost:
9579+
type: string
9580+
example: '340000000'
9581+
description: Fixed tax cost of the stake pool
9582+
metadata: null
94459583
- pool_id: pool1wvccajt4eugjtf3k0ja3exjqdj7t8egsujwhcw4tzj4rzsxzw5w
94469584
hex: 73318ec975cf1125a6367cbb1c9a406cbcb3e510e49d7c3aab14aa31
94479585
active_stake: '9989541215'
94489586
live_stake: '168445464878'
9587+
blocks_minted:
9588+
type: integer
9589+
example: 69
9590+
description: Total minted blocks
9591+
live_saturation:
9592+
type: number
9593+
example: 0.93
9594+
declared_pledge:
9595+
type: string
9596+
example: '5000000000'
9597+
description: Stake pool certificate pledge
9598+
margin_cost:
9599+
type: number
9600+
example: 0.05
9601+
description: Margin tax cost of the stake pool
9602+
fixed_cost:
9603+
type: string
9604+
example: '340000000'
9605+
description: Fixed tax cost of the stake pool
9606+
metadata: null
94499607
pool_list_retire:
94509608
type: array
94519609
items:

docs/blockfrost-openapi.yaml

Lines changed: 160 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9950,24 +9950,184 @@ components:
99509950
type: string
99519951
example: '6900000000'
99529952
description: Currently delegated amount
9953+
live_saturation:
9954+
type: number
9955+
example: 0.93
9956+
blocks_minted:
9957+
type: integer
9958+
example: 69
9959+
description: Total minted blocks
9960+
declared_pledge:
9961+
type: string
9962+
example: '5000000000'
9963+
description: Stake pool certificate pledge
9964+
margin_cost:
9965+
type: number
9966+
example: 0.05
9967+
description: Margin tax cost of the stake pool
9968+
fixed_cost:
9969+
type: string
9970+
example: '340000000'
9971+
description: Fixed tax cost of the stake pool
9972+
metadata:
9973+
type: object
9974+
properties:
9975+
url:
9976+
type: string
9977+
nullable: true
9978+
example: 'https://stakenuts.com/mainnet.json'
9979+
description: URL to the stake pool metadata
9980+
hash:
9981+
type: string
9982+
nullable: true
9983+
example: >-
9984+
47c0c68cb57f4a5b4a87bad896fc274678e7aea98e200fa14a1cb40c0cab1d8c
9985+
description: Hash of the metadata file
9986+
ticker:
9987+
type: string
9988+
nullable: true
9989+
example: NUTS
9990+
description: Ticker of the stake pool
9991+
name:
9992+
type: string
9993+
nullable: true
9994+
example: Stake Nuts
9995+
description: Name of the stake pool
9996+
description:
9997+
type: string
9998+
nullable: true
9999+
example: The best pool ever
10000+
description: Description of the stake pool
10001+
homepage:
10002+
type: string
10003+
nullable: true
10004+
example: 'https://stakentus.com/'
10005+
description: Home page of the stake pool
10006+
required:
10007+
- pool_id
10008+
- hex
10009+
- url
10010+
- hash
10011+
- ticker
10012+
- name
10013+
- description
10014+
- homepage
995310015
required:
995410016
- pool_id
995510017
- hex
995610018
- active_stake
995710019
- live_stake
10020+
- blocks_minted
10021+
- live_saturation
10022+
- declared_pledge
10023+
- margin_cost
10024+
- fixed_cost
995810025
example:
995910026
- pool_id: pool19u64770wqp6s95gkajc8udheske5e6ljmpq33awxk326zjaza0q
996010027
hex: 2f355f79ee007502d116ecb07e36f985b34cebf2d84118f5c6b455a1
996110028
active_stake: '1541200000'
996210029
live_stake: '1541400000'
10030+
blocks_minted:
10031+
type: integer
10032+
example: 69
10033+
description: Total minted blocks
10034+
live_saturation:
10035+
type: number
10036+
example: 0.93
10037+
declared_pledge:
10038+
type: string
10039+
example: '5000000000'
10040+
description: Stake pool certificate pledge
10041+
margin_cost:
10042+
type: number
10043+
example: 0.05
10044+
description: Margin tax cost of the stake pool
10045+
fixed_cost:
10046+
type: string
10047+
example: '340000000'
10048+
description: Fixed tax cost of the stake pool
10049+
metadata:
10050+
type: object
10051+
properties:
10052+
url:
10053+
type: string
10054+
nullable: true
10055+
example: 'https://stakenuts.com/mainnet.json'
10056+
description: URL to the stake pool metadata
10057+
hash:
10058+
type: string
10059+
nullable: true
10060+
example: >-
10061+
47c0c68cb57f4a5b4a87bad896fc274678e7aea98e200fa14a1cb40c0cab1d8c
10062+
description: Hash of the metadata file
10063+
ticker:
10064+
type: string
10065+
nullable: true
10066+
example: NUTS
10067+
description: Ticker of the stake pool
10068+
name:
10069+
type: string
10070+
nullable: true
10071+
example: Stake Nuts
10072+
description: Name of the stake pool
10073+
description:
10074+
type: string
10075+
nullable: true
10076+
example: The best pool ever
10077+
description: Description of the stake pool
10078+
homepage:
10079+
type: string
10080+
nullable: true
10081+
example: 'https://stakentus.com/'
10082+
description: Home page of the stake pool
996310083
- pool_id: pool1dvla4zq98hpvacv20snndupjrqhuc79zl6gjap565nku6et5zdx
996410084
hex: 6b3fda88053dc2cee18a7c2736f032182fcc78a2fe912e869aa4edcd
996510085
active_stake: '22200000'
996610086
live_stake: '48955550'
10087+
blocks_minted:
10088+
type: integer
10089+
example: 69
10090+
description: Total minted blocks
10091+
live_saturation:
10092+
type: number
10093+
example: 0.93
10094+
declared_pledge:
10095+
type: string
10096+
example: '5000000000'
10097+
description: Stake pool certificate pledge
10098+
margin_cost:
10099+
type: number
10100+
example: 0.05
10101+
description: Margin tax cost of the stake pool
10102+
fixed_cost:
10103+
type: string
10104+
example: '340000000'
10105+
description: Fixed tax cost of the stake pool
10106+
metadata: null
996710107
- pool_id: pool1wvccajt4eugjtf3k0ja3exjqdj7t8egsujwhcw4tzj4rzsxzw5w
996810108
hex: 73318ec975cf1125a6367cbb1c9a406cbcb3e510e49d7c3aab14aa31
996910109
active_stake: '9989541215'
997010110
live_stake: '168445464878'
10111+
blocks_minted:
10112+
type: integer
10113+
example: 69
10114+
description: Total minted blocks
10115+
live_saturation:
10116+
type: number
10117+
example: 0.93
10118+
declared_pledge:
10119+
type: string
10120+
example: '5000000000'
10121+
description: Stake pool certificate pledge
10122+
margin_cost:
10123+
type: number
10124+
example: 0.05
10125+
description: Margin tax cost of the stake pool
10126+
fixed_cost:
10127+
type: string
10128+
example: '340000000'
10129+
description: Fixed tax cost of the stake pool
10130+
metadata: null
997110131
pool_list_retire:
997210132
type: array
997310133
items:

json-schema.json

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

0 commit comments

Comments
 (0)