hirosystems / hirosystems/stacks-blockchain-api

add a signer stakers endpoint filtered by cycle

Open
#2,615 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
193
Forks
127
Avg merge
16h 35m
Merged PRs (30d)
46

Description

Right now we have `/extended/v3/staking/signers/{principal}/stakers` that gives the current set of stakers. For some, it would be useful to be able to see past history of stakers in previous PoX cycles.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the existing /extended/v3/staking/signers/{principal}/stakers endpoint and how it returns the current staker set. Add a cycle filter so callers can retrieve stakers from previous PoX cycles, then verify that the endpoint returns the expected historical set for the requested cycle.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, blockchain
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.