@ton3/liteclient
Version:
TON Blockchain LiteClient
19 lines • 738 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.masterchainInfo = void 0;
const __1 = require("..");
const utils_1 = require("../../utils");
exports.masterchainInfo = {
tag: (0, utils_1.crc32)('liteServer.masterchainInfo last:tonNode.blockIdExt state_root_hash:int256 init:tonNode.zeroStateIdExt = liteServer.MasterchainInfo'),
read: (bufferReader) => {
const last = __1.tonNode.blockIdExt.read(bufferReader);
const state_root_hash = bufferReader.readBuffer(32);
const init = __1.tonNode.zeroStateIdExt.read(bufferReader);
return {
last,
state_root_hash,
init,
};
},
};
//# sourceMappingURL=masterchainInfo.js.map