getinfo: 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 46: Line 46:
| max_tx_size || Maximum size for new transaction || uint64         
| max_tx_size || Maximum size for new transaction || uint64         
|}
|}
== Usage ==
=== cURL ===
* <nowiki>curl http://127.0.0.1:33888/getinfo</nowiki>

Revision as of 12:50, 24 March 2020

Input

Argument Mandatory Description Format
none

Output

Argument Description Format
status Status of the request, "OK" if successful string
height Blockchain height uint64
difficulty Difficulty of latest block uint64
tx_count Cumulative number of transactions since genesis block uint64
tx_pool_size Number of unconfirmed transactions in pool uint64
alt_blocks_count Number of blocks in alternate chains uint64
outgoing_connections_count Number of outgoing connections uint64
incoming_connections_count Number of incoming connections uint64
white_peerlist_size Number of peers in white list uint64
grey_peerlist_size Number of peers in grey list uint64
last_known_block_index Last known block index uint32
network_height Remote network blockchain height uint32
hashrate Estimated hash rate of latest block uint32
version Daemon version string
synced Is the local daemon synced with network bool
fee_address Fee address of local daemon string
max_block_size Maximum size for new block uint64
max_tx_size Maximum size for new transaction uint64

Usage

cURL

  • curl http://127.0.0.1:33888/getinfo