get total coins: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Input == {| class="wikitable" ! Argument !! Mandatory !! Description !! Format |- | colspan="4" | none |} == Output == {| class="wikitable" ! Argument !! Description !! Fo...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:get_total_coins}} | |||
== Input == | == Input == | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 10: | Line 11: | ||
! Argument !! Description !! Format | ! Argument !! Description !! Format | ||
|- | |- | ||
| totalCoins || Maximum number of coins in atomic | | totalCoins || Maximum number of coins in [[atomic unit]]s || string | ||
|- | |- | ||
| status || Status of the request, "OK" if successful || string | | status || Status of the request, "OK" if successful || string | ||
Line 16: | Line 17: | ||
== Description == | == Description == | ||
* This method returns maximum number of coins in atomic units. After maximum number of coins have been mined, block reward will contain only network | * This method returns maximum number of coins in atomic units. After maximum number of coins have been mined, [[block reward]] will contain only [[network fee]]s from transactions. | ||
== Usage == | |||
=== cURL === | |||
* <nowiki>curl http://127.0.0.1:33888/get_total_coins</nowiki> |
Latest revision as of 13:08, 24 March 2020
Input
Argument | Mandatory | Description | Format |
---|---|---|---|
none |
Output
Argument | Description | Format |
---|---|---|
totalCoins | Maximum number of coins in atomic units | string |
status | Status of the request, "OK" if successful | string |
Description
- This method returns maximum number of coins in atomic units. After maximum number of coins have been mined, block reward will contain only network fees from transactions.
Usage
cURL
- curl http://127.0.0.1:33888/get_total_coins