Difference between revisions of "get total coins"

From Talleo Wiki
Jump to navigation Jump to search
m
 
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 15: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