Paralism Node RESTAPI

  1. Home
  2. Docs
  3. Paralism Node RESTAPI
  4. 11. GetLocalChain Gets the specified local chain data of the hyper block

11. GetLocalChain Gets the specified local chain data of the hyper block

*Parameter: hid, super block number

chain_ num, sub chain number

*Example: http://127.0.0.1:8080/GetLocalChain?hid=1416&chain_num=1

*Return example:

{
  "block_chain":"unknown",
  "blocks":2,
  "chain_num":1,
  "concensus":"buddy",
  "difficulty":2
}
Was this article helpful to you? Yes No