I'm trying to send a tx request to bitcoin node to make a transaction. All tutorials send back the remaining satoshis to themselves. What if I don't do that and don't send remaining satoshis to myself?

1 Answer 1


Transactions require that the amount sent in outputs does not exceed the amount consumed by the inputs. The difference between the two is implicitly the transaction's fee, which can be claimed by the miner that accepts the transaction into a block.

Thus, if you construct a transaction which consumes more than you want to send, but don't explicitly add an output to make those coins actually go back to you, you're burning them as transaction fee.

  • but i have to give some fees to the miner right? how much is enough if yes? Commented Oct 23, 2023 at 18:31
  • 1
    Here is the state of the mempool with respect to fees, you must figure out how many bytes your transaction is and include the appropriate fee based on this and your desired speed. jochen-hoenicke.de/queue/#BTC,6m,weight Commented Oct 23, 2023 at 18:34

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.