explicitly state that the name and namespace prices are in satoshis and/or micro-stacks

This commit is contained in:
Jude Nelson
2019-04-29 11:24:56 -04:00
parent 1dcfdd39b1
commit 6cf7c66009

View File

@@ -765,6 +765,10 @@ This endpoint is used to get the price of a namespace, while explicitly
indicating the cryptocurrency units. This is because going forward, namespaces
are not necessarily priced in Bitcoin.
The `amount` given will be in the smallest possible units of the currency. For
`BTC`, the `amount` will be in satoshis. For `STACKS`, the `amount` will be in
micro-Stacks.
+ Public Endpoint
+ Parameters
+ tld: id (string) - namespace to query price for
@@ -811,6 +815,10 @@ are not necessarily priced in Bitcoin.
This endpoint is used to get the price of a name, denoted in a specific
cryptocurrency (not necessarily Bitcoin).
The `amount` given will be in the smallest possible units of the currency. For
`BTC`, the `amount` will be in satoshis. For `STACKS`, the `amount` will be in
micro-Stacks (1/10,000th of a Stack).
+ Public Endpoint
+ Parameters
+ name: muneeb.id (string) - name to query price information for