hirosystems / hirosystems/stacks-blockchain-api
Incorrect units on Namespace price API
- Dominant language
- TypeScript
- Stars
- 193
- Forks
- 127
- Avg merge
- 16h 35m
- Merged PRs (30d)
- 46
Description
**Describe the bug**
The response returned by the API dictates that units=STX, however the actual amount returned is in Micro Stacks.
**To Reproduce**
Steps to reproduce the behavior:
1. Hit the API: https://api.mainnet.hiro.so/v2/prices/namespaces/something
2. Check response
**Expected behavior**
I think the response should return 'uSTX' as the unit and the documentation should be updated to reflect this.
**Screenshots**

**Additional context**
Link to documentation: https://hirosystems.github.io/stacks-blockchain-api/#tag/Names/operation/get_namespace_price
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.