UNPKG

@bigmi/core

Version:

TypeScript library for Bitcoin apps.

24 lines 1.43 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.publicActions = publicActions; const getBalance_js_1 = require("../../actions/getBalance.js"); const getBlock_js_1 = require("../../actions/getBlock.js"); const getBlockCount_js_1 = require("../../actions/getBlockCount.js"); const getBlockStats_js_1 = require("../../actions/getBlockStats.js"); const getTransactionFee_js_1 = require("../../actions/getTransactionFee.js"); const getTransactions_js_1 = require("../../actions/getTransactions.js"); const getUTXOs_js_1 = require("../../actions/getUTXOs.js"); const getUTXOTransaction_js_1 = require("../../actions/getUTXOTransaction.js"); function publicActions(client) { return { getBalance: (args) => (0, getBalance_js_1.getBalance)(client, args), getBlock: (args) => (0, getBlock_js_1.getBlock)(client, args), getBlockCount: () => (0, getBlockCount_js_1.getBlockCount)(client), getBlockStats: (args) => (0, getBlockStats_js_1.getBlockStats)(client, args), getTransactions: (args) => (0, getTransactions_js_1.getTransactions)(client, args), getUTXOTransaction: (args) => (0, getUTXOTransaction_js_1.getUTXOTransaction)(client, args), getUTXOs: (args) => (0, getUTXOs_js_1.getUTXOs)(client, args), getTransactionFee: (args) => (0, getTransactionFee_js_1.getTransactionFee)(client, args), }; } //# sourceMappingURL=public.js.map