UNPKG

sth-ts

Version:

An SmartHoldem API wrapper, written in TypeScript to interact with SmartHoldem blockchain.

18 lines 685 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var api = require("./api"); var Http_1 = require("./services/Http"); var Client = /** @class */ (function () { function Client(network) { var request = new Http_1.default(network); this.account = new api.AccountApi(request); this.delegate = new api.DelegateApi(request); this.peer = new api.PeerApi(request); this.loader = new api.LoaderApi(request); this.block = new api.BlockApi(request); this.transaction = new api.TransactionApi(request); } return Client; }()); exports.default = Client; //# sourceMappingURL=Sth.js.map