hirosystems / hirosystems/stacks-blockchain-api

Param `signer_key` should work without `0x` prefix

Open
#2,009 1 comment 0 reactions 1 assignee Claimed by @rmottley-hiro View on GitHub
good first issue
Dominant language
TypeScript
Stars
193
Forks
127
Avg merge
16h 35m
Merged PRs (30d)
46

Description

The `/extended/v2/pox/cycles/:cycle_number/signers/:signer_key/stackers` endpoint ([docs](https://docs.hiro.so/api/get-stackers-for-signer-in-po-x-cycle)) requires the signer key to be provided with a `0x` prefix. To match the behavior in other Hiro tools when dealing with hex-encoded strings, such as Stacks.js, the API would accept a hex-encoded string without the `0x` prefix.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.