Paralism Node RESTAPI

  1. Home
  2. Docs
  3. Paralism Node RESTAPI
  4. 15. GetDataOfCurrentConsensus to obtain detailed information on the current running consensus

15. GetDataOfCurrentConsensus to obtain detailed information on the current running consensus

*Example: http://127.0.0.1:8080/GetDataOfCurrentConsensus

*Return example:

When in idle state 
{
  "curBuddyNo":301,
  "nodeState":"idle"
}

When localbuddy returns chain data
{
  "curBuddyNo":301,
  "nodeState":"localBuddy",
  "blockNum":"3"
}
Was this article helpful to you? Yes No