Skip to main content Link Menu Expand (external link) Document Search Copy Copied

BchInfo

Model getters

Method name Return type Description Notes
getChain() string Chain of the blockchain, main or test.
Example: main
[optional]
getBlocks() float Last block.
Example: 609604
[optional]
getBestblockhash() string Hash of the last block.
Example: 0000000000000000024997c878c5a90bd73cd50060877c4f70eef1f2e92243f5
[optional]
getDifficulty() float Difficulty of the PoW algorithm.
Example: 375206303347.133
[optional]