getChainInfo
public void getChainInfo(io.vertx.core.Handler<io.vertx.core.AsyncResult<ChainInfoDTO>> resultHandler)
Get the current information of the chain
Returns the current information of the blockchain. The higher the score, the better the chain. During synchronization, nodes try to get the best blockchain in the network. The score for a block is derived from its difficulty and the time (in seconds) that has elapsed since the last block: block score = difficulty − time elapsed since last block
- Specified by:
getChainInfo in interface ChainRoutesApi
- Parameters:
resultHandler - Asynchronous result handler