get total coins: Difference between revisions

From Talleo Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
Line 18: Line 18:
== 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 fee]]s from transactions.
* 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