2

My goal is to create a transaction that spends dust outputs to a miner. Since the goal is to reduce the UTXO set by consuming low value outputs, I do not want to create any new UTXO by actually sending Bitcoin to an address.

Is it valid to make a transaction with several inputs and only one single, zero value prunable OP RETURN output?

  • there are ~50 million UTXO. your efforts are teardrop in ocean – amaclin Jul 25 '17 at 20:16
  • It's a technical question not a charity proposal. But consider all those useless UTXOs produced by Counterparty. A large scale clean up could be effective – pinhead Jul 25 '17 at 20:18
  • Services like cryptograffiti.info encode arbitrary data in unspent outputs every single day. – amaclin Jul 25 '17 at 21:22
4

Yes. Such transactions are valid and standard.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.