@ledgerhq/coin-tron
Version:
Ledger Tron Coin integration
13 lines • 389 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.lastBlock = lastBlock;
const network_1 = require("../network");
async function lastBlock() {
const block = await (0, network_1.getLastBlock)();
return {
height: block.height,
hash: block.hash,
time: block.time ?? new Date(0),
};
}
//# sourceMappingURL=lastBlock.js.map