chaingate
Version:
A complete TypeScript library for connecting to and making transactions on different blockchains
19 lines • 673 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.UtxoWallet = void 0;
const CurrencyWallet_1 = require("../../CurrencyWallet");
class UtxoWallet extends CurrencyWallet_1.CurrencyWallet {
networkParams;
constructor(utils, transports, networkParams) {
super(utils, transports);
this.networkParams = networkParams;
}
async getBalance() {
return await this.utils.addressBalance(await this.getAddress());
}
async getHistory(page = 0) {
return await this.utils.addressHistory(await this.getAddress(), page);
}
}
exports.UtxoWallet = UtxoWallet;
//# sourceMappingURL=UtxoWallet.js.map