For an academic article I want to know if I can prevent a transaction from being spent at all?
I tried to send a transaction with only one output that contains only data (no output address provided) but it got rejected by the server (mempool) with error message TransactionError::MAX_FEE_EXCEEDED
.
---UPDATE---
My intention was that I have an UTXO with OP_RETURN script that I want to be not spendable. I set it's value to be 0.00 BTC and therefore all the inputs values go to fee.
The issue with that that My transaction weight is very small (154 vBytes) and the sum of the input is much higher.