json rpc – How to properly use the rpc command `listunspent` with `bitcore-lib` to create a transaction and get the transaction hash?

[ad_1] I am trying to use the rpc command listunspent to get all the UTXOs relevant to an address, and then I am trying to pass it to a transaction, using bitcore-lib. Below is my code: const Client = require(‘bitcoin-core’); const bitcore = require(‘bitcore-lib’); const client = new Client({ network: ‘regtest’, username: ‘bitcoinuser’, password: ‘bitcoinpass’, … Read more

NYAG raises DCG, Genesis lawsuit to $3B amid conflicting settlement reports

[ad_1] The New York Attorney General’s Office (NYAG) raised its fraud claims against Digital Currency Group (DCG) and related parties on Feb. 9. The NYAG’s lawsuit originally alleged over $1 billion in losses; however, it has been amended to include another $2 billion in losses — bringing the total to $3 billion, allegedly affecting more … Read more