@okxweb3/coin-stellar
Version:
@ok/coin-stellar is a Stellar SDK for building Web3 wallets and applications. It supports Stellar and PI blockchains, enabling private key management, address generation, transaction signing, trustline creation, and asset transfers
17 lines • 735 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.restoreFootprint = void 0;
const xdr_1 = __importDefault(require("../xdr"));
function restoreFootprint(opts = {}) {
const op = new xdr_1.default.RestoreFootprintOp({ ext: new xdr_1.default.ExtensionPoint(0) });
const opAttributes = {
body: xdr_1.default.OperationBody.restoreFootprint(op)
};
this.setSourceAccount(opAttributes, opts ?? {});
return new xdr_1.default.Operation(opAttributes);
}
exports.restoreFootprint = restoreFootprint;
//# sourceMappingURL=restore_footprint.js.map