When crunching blockchain data, my script tripped up on transactions without any outputs (vouts). Is this Monero's equivalent of OP_RETURN script, or am I missing something?

After looking at some examples in a blockchain viewer, it appears that the value of the outputs goes to the miner, I will leave the question open for good suggestions as to what is going on there:

Block 761388 Block 782656 Block 844741 Whole block 1006680

  • Can you tell us the txhash or block height of such a transaction? – knaccc May 4 '17 at 3:12
  • This is a recent example - xmrchain.net/tx/… – Fireice UK May 4 '17 at 8:48
  • Wow, I'm really surprised by that. – kenshi84 May 4 '17 at 12:21
  • Note that, for all transactions, the sum of the inputs is equal to the fee. Thus, the output is going straight to the coinbase reward, which is a different transaction. – dEBRUYNE May 4 '17 at 15:20
  • @dEBRUYNE What's odd is that after following the link to the transaction in block 761388, if the containing block is examined, the no-outputs transaction is not listed. Only a different miner reward transaction is listed. I assume this must be a bug in xmrchain? – knaccc May 5 '17 at 8:02

Monero has no scripting language. Even though the Cryptonote paper describes a simple lightweight one, the code did not implement it at the time Monero forked.

| improve this answer | |
  • You missed the point of the question - I'm not asking about Monero's scripting capabilities. If you are not familiar with BTC, OP_RETURN script means that the transaction is unspendable, provably so. Although this doesn't appear to happen here. – Fireice UK May 4 '17 at 8:55
  • Transactions are neither spendable nor unspendable, that does not make sense. A transaction consumes inputs, and creates outputs. In Monero, it's the same. Inputs are consumed, and outputs (possibly none) are created. – user36303 May 4 '17 at 20:25

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.