Difference between revisions of "get generated coins"

From Talleo Wiki
Jump to navigation Jump to search
m
(Add usage)
 
Line 18: Line 18:
 
== Description ==
 
== Description ==
 
* This method returns total number of coins mined in blocks in atomic units since genesis block.
 
* This method returns total number of coins mined in blocks in atomic units since genesis block.
 +
 +
== Usage ==
 +
 +
=== cURL ===
 +
* <nowiki>curl http://127.0.0.1:33888/get_generated_coins</nowiki>

Latest revision as of 14:07, 24 March 2020

Input

Argument Mandatory Description Format
none

Output

Argument Description Format
alreadyGeneratedCoins Total number of mined coins in atomic units string
status Status of the request, "OK" if successful string

Description

  • This method returns total number of coins mined in blocks in atomic units since genesis block.

Usage

cURL

  • curl http://127.0.0.1:33888/get_generated_coins