UNPKG

@thorwallet/xchain-bitcoincash

Version:

Custom bitcoincash client and utilities used by XChainJS clients

16 lines 523 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getBalance = void 0; const tslib_1 = require("tslib"); const utils = tslib_1.__importStar(require("./utils")); const getBalance = ({ address, network }) => { return utils.getBalance({ haskoinUrl: { testnet: 'https://api.haskoin.com/bchtest', mainnet: 'https://api.haskoin.com/bch', }[network], address, }); }; exports.getBalance = getBalance; //# sourceMappingURL=get-balance.js.map