var {HeatSDK} = require("heat-sdk")
var sdk = new HeatSDK()
sdk.api.get("/blockchain/status").then(
function (data) {
let date = sdk.utils.timestampToDate(data.lastBlockTimestamp)
let height = data.lastBlockchainFeederHeight;
console.log(`HEAT Blockchain HEIGHT = ${height}`)
console.log(`HEAT Blockchain DATE = ${date}`)
}
)