slp-list
Version:
List token holders and balances at any block height
26 lines • 693 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var Config = /** @class */ (function () {
function Config() {
}
Object.defineProperty(Config, "url", {
get: function () {
return Config._url;
},
enumerable: true,
configurable: true
});
Config.SetUrl = function (url) {
if (url.startsWith("http")) {
Config._url = url;
}
else {
throw Error("Url string must start with 'https://'.");
}
return Config._url;
};
Config._url = "https://nyc1.slpdb.io";
return Config;
}());
exports.Config = Config;
//# sourceMappingURL=config.js.map