FedoraGold Technical Documentation

  1. Home
  2. Docs
  3. FedoraGold Technical Documentation
  4. API: fedoragold_daemon (http post: JSON req)
  5. getblockcount (both POST and GET)

getblockcount (both POST and GET)

curl -X POST -i -H "Accept: application/json" -d '{"jsonrpc": "2.0", "method":"getblockcount", "params":{}}' http://localhost:30159/json_rpc

requestresponse
count
status

sample:

{"jsonrpc":"2.0","result":{"count":2884980,"status":"OK"}}

Was this article helpful to you? Yes No

How can we help?