getheight: 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)
 
Line 16: Line 16:
| status || Status of request, "OK" if successful || string
| status || Status of request, "OK" if successful || string
|}
|}
== Usage ==
=== cURL ===
* <nowiki>curl http://127.0.0.1:33888/getheight</nowiki>

Latest revision as of 12:52, 24 March 2020

Input

Argument Mandatory Description Format
none

Output

Argument Description Format
height Local blockchain height uint64
network_height Network blockchain height uint32
status Status of request, "OK" if successful string

Usage

cURL

  • curl http://127.0.0.1:33888/getheight