FedoraGold Technical Documentation

  1. Home
  2. Docs
  3. FedoraGold Technical Documentation
  4. API: fedoragold_daemon (http get: json)
  5. getinfo

getinfo

curl -X GET -i -H "Accept: application/json" -d '{"jsonrpc": "2.0"}' http://localhost:30159/getinfo

requestresponse
status
height
difficulty
tx_count
tx_pool_size
alt_blocks_count
outgoing_connections_count
incoming_connections_count
white_peerlist_size
grey_peerlist_size
lastKnownBlockIndex

sample:

{"already_generated_coins":"420661735523986052","alt_blocks_count":0,"block_major_version":1,"contact":"","cumulative_difficulty":81307873462692,"difficulty":9611187,"grey_peerlist_size":672,"height":2884629,"incoming_connections_count":0,"last_known_block_index":2884628,"max_cumulative_block_size":334165,"min_fee":1000000,"next_reward":142743265736,"outgoing_connections_count":7,"rpc_connections_count":1,"start_time":1614132161,"status":"OK","top_block_hash":"37f6ee83a9e169e7137e60f4f798002b4afd81dd9916c6de43046753a4983da8","tx_count":1099792,"tx_pool_size":1,"version":"2.2.0.1()","white_peerlist_size":72}

Was this article helpful to you? Yes 2 No

How can we help?