Retrieve Blockchain Block Height
var Blockchain = '0x714d2ac07a826b66ac56752eebd7c77b58d2ee842e523d913fd0ef06e6bdfcae';
Circular.GetBlockCount(Blockchain)
.then(data => {
// do something with the data in JSON format
});
Output
{
"Result": 200, // Success
"Response": {
"BlockCount": 1000 // Block Height
},
"Node": "0x..." // Answering Node
}
Last updated