I've recently learned that some cryptocurrencies allow the users to attach additional input data to their transaction and would like to know if it's true for Bitcoin as well.

For example, Ethereum allows its users to attach "input" data to a transaction and the senders can hide the actual transaction information inside the "input" data in a hexadecimal format. In Ethereum transaction data, there are many cases where a transaction's input amount is 0 but if you look at its input data, it has a hexadecimal string that has the actual transaction amount and the actual output address.

I wonder whether Bitcoin has a similar function. If so, which column in the Bitcoin transaction data should I look at to get the hidden information? Here's the list of columns in the transaction data.

enter image description hereenter image description here

1 Answer 1


Bitcoin does not have freely defined input fields of the sort that you describe. In Bitcoin, each input must reference a specific UTXO that is spent, and satisfy the locking conditions that were specified when the output was created. There is one exception which is the coinbase field in the transaction that pays out the block reward, however, this transaction type can only appear once per block and is authored by the miner that found a block.

There is however the "null data" (OP_RETURN) output type that allows a sender to attach one output with up to 83 bytes of data. Null data outputs for example find use to anchor timestamps and by colored coin-style networks such as the Omni Layer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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