Getting input of a transaction for adding fee

by Aman Vyas   Last Updated February 13, 2018 09:27 AM

I am using Bitcoinj and it provides method to send transaction and set the fee but want to know what will be the fee for the particular transaction so it can be fast.So I came up using setFee/Kb.But I am not sure how to get the input bytes so that I can set the fee for the transaction.

Related Questions

How to know bytes for a transaction using BitcoinJ

Updated February 06, 2018 12:27 PM

How to compute SegWit txid?

Updated November 06, 2017 01:27 AM