get generated coins: Difference between revisions

From Talleo Wiki
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...")
 
(Add usage)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:get_generated_coins}}
== Input ==
== Input ==
{| class="wikitable"
{| class="wikitable"
Line 10: Line 11:
! Argument !! Description !! Format
! Argument !! Description !! Format
|-
|-
| alreadyGeneratedCoins || Total number of mined coins in atomic units || string
| alreadyGeneratedCoins || Total number of mined 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 17: 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 13: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