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

Bitcoin Mining Could Be Strengthening The Ruble, Russian Central Bank Says

Crypto Exec Warns Tokenization Is Moving Faster Than Expected

Bitwise Clients Pour $69M Into Solana as Bulls Fight to Reclaim $200 Resistance Zone