@bigmi/core
Version:
TypeScript library for Bitcoin apps.
15 lines • 541 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.blockcypher = void 0;
const utxo_js_1 = require("../utxo.js");
const methods_js_1 = require("./methods.js");
const blockcypher = (config) => (0, utxo_js_1.utxo)(config?.baseUrl || 'https://api.blockcypher.com/v1/btc/main', {
name: 'Blockcypher API',
key: 'blockcypher',
methods: {
include: Object.keys(methods_js_1.blockcypherMethods),
},
...config,
});
exports.blockcypher = blockcypher;
//# sourceMappingURL=blockcypher.js.map