Get all UTXOs from specific wallet via RPC

I am doing an automated custom transaction generator in Python for a test environment to generate a ground truth of transactions. This generator creates transactions via the createrawtransaction RPC method.

For this test generator, I need to retrieve all UTXOs from a specific wallet, to be able to include them as the first argument (the inputs) of the createrawtransaction method. Is there any way to do so? So far, from what I understand from the listunspent method, you need to provide a set of addresses to filter as a parameter, but I'm wondering if it is possible to just provide the wallet name to get all unspent outputs from that wallet.



from Recent Questions - Bitcoin Stack Exchange https://ift.tt/Xn86xcL
via IFTTT

Popular posts from this blog

Future of Bitcoin encryption and security in a QC era

Possible rollback due to lazy reveal in BRC20?

A way to recover scammed Bitcoin investment