@ton3/liteclient
Version:
TON Blockchain LiteClient
23 lines • 873 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.accountState = void 0;
const utils_1 = require("../../utils");
const tonNode_1 = require("../tonNode");
exports.accountState = {
tag: (0, utils_1.crc32)('liteServer.accountState id:tonNode.blockIdExt shardblk:tonNode.blockIdExt shard_proof:bytes proof:bytes state:bytes = liteServer.AccountState'),
read: (bufferReader) => {
const id = tonNode_1.blockIdExt.read(bufferReader);
const shardblk = tonNode_1.blockIdExt.read(bufferReader);
const shard_proof = bufferReader.readBytes();
const proof = bufferReader.readBytes();
const state = bufferReader.readBytes();
return {
id,
shardblk,
shard_proof,
proof,
state,
};
},
};
//# sourceMappingURL=accountState.js.map