in3rsha / bitcoin-utxo-dump

Get a list of UTXOs (unspent transaction outputs) from your Bitcoin Core client.
MIT License
231 stars 97 forks source link

utxo csv missing some fields #18

Closed jackyxie closed 3 years ago

jackyxie commented 3 years ago

After execute the export command and save data to csv file. I found that some fields are missing, such as address.

20201010122728

in3rsha commented 3 years ago

Hi @jackyxie

Not all UTXOs have addresses. The UTXOs in your screenshot have multisig (P2MS) locks on them, and whilst they contain public keys, they scripts themselves do not actually have their own address format.

These are the only locking scripts placed on UTXOs that have addresses:

jackyxie commented 3 years ago

thanks, get it.