I am using the RPC API to submit automated transactions to my Bitcond, the user introduces the Amount and I check it against its balance before submitting the transaction.
I would like to also check if the user has enough balance to pay the network fee as well.
- Is there a way to know the Bitcoin Network transaction fee BEFORE actually submitting the transaction?
- Is there a way I can define the network fee?