bitcoin-cash-rpc
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -89,6 +89,8 @@ let axios = require('axios'); | ||
/** | ||
* @param {Number} minconf minimum number of confirmations | ||
* @param {Number} maxconf max number of confirmations | ||
* @return {Object} array of all UTXOs | ||
*/ | ||
async listUnspent() { | ||
let req = await this.performMethod('listUnspent'); | ||
async listUnspent(...params) { | ||
let req = await this.performMethod('listUnspent', ...params); | ||
@@ -95,0 +97,0 @@ return axios(req) |
{ | ||
"name": "bitcoin-cash-rpc", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "JSON-RPC library for use with Bitcoin Cash Nodes, promise-based and async/await support.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
16670
430