Skip to content

Implement /epoch/{number}/stakes/ #149

@sandtreader

Description

@sandtreader

We need to move the /spdd endpoint into BlockFrost - and it's a key one for use in Partner Chains. From Epic:

/spdd
(Rename to /epochs/{epoch_number}/stakes)
Note: Current /spdd groups by pool while Blockfrost’s endpoint returns a separate entry for each stake address with the pool as a field. Blockfrost has a separate endpoint /epochs/{epoch_number}/stakes/{pool_id} to get the distribution for a single pool.
Requires storing historical spdd by default

I propose a new SPDDHistory module to store this, capturing output from AccountsState, rather than (over-)extending AccountsState itself.

Sub-issues

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions