UNPKG

chaingate

Version:

A complete TypeScript library for connecting to and making transactions on different blockchains

15 lines 521 B
import { CurrencyWallet } from '../../CurrencyWallet'; export class UtxoWallet extends 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); } } //# sourceMappingURL=UtxoWallet.js.map