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

BtcInfo

Model getters

Method name Return type Description Notes
getChain() string Chain of the blockchain, main or test.
Example: test
[optional]
getBlocks() float Last block.
Example: 1579820
[optional]
getHeaders() float Last headers.
Example: 1579820
[optional]
getBestblockhash() string Hash of the last block.
Example: 0000000000000106e4c03ca093ce0cf77e796ddff4f3cadc59ca6b0380e3eed4
[optional]
getDifficulty() float Difficulty of the algorithm.
Example: 6522714.521250089
[optional]