getBlockHeight
Example Code
const knode = require("@_koi/sdk/node");
const ktools = new knode.Node();
async function testGetBlockHeight() {
const blockNumber= await ktools.getBlockHeight();
console.log(blockNumber);
}
testGetBlockHeight();Example Code Output
Initialized Koii Tools for true ownership and direct communication using version QA7AIFVx1KBBmzC7WUNhJbDsHlSJArUT0jWrhZMZPS8
870697Returns
Last updated