mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-28 19:55:20 +08:00
explicitly state that the name and namespace prices are in satoshis and/or micro-stacks
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user