Skip to content

Map Signer Key to Reward Slots #2084

@sbond14

Description

@sbond14

Is your feature request related to a problem? Please describe.
I would like to be able to collect reward slots by the signer that that stacker is stacked to.

In my specific use case, I run a signer that is delegated to by Stacking DAO. Since they use the same POX address for delegations to multiple signers, it is currently impossible for me to determine which reward slots correspond to the STX stacked to my individual signer.

Describe the solution you'd like
An inclusion of a signer_key field in the response of the first 4 reward queries here https://docs.hiro.so/stacks/api/stacking-rewards. This mapping of (signer key -> reward slot) would likely need to be done at the application level in order to allow the API to query for it.

Describe alternatives you've considered
I have tried collecting these rewards by POX address, but since the same POX address is used on multiple signers, this doesn't allow me to query reward slots for a specific signer. I understand that rewards are earned by stackers (not signers), which is why only POX address is currently included, but the additional mapping of a signer key would be very useful to me to help monitor my individual signer processes.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

📋 Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions