Hi All.
Is there away to calculate Fee just before broadcast the Transaction?
 What I tried is:

SendRequest request = SendRequest.to(Address.fromBase58(parameters, 
recipientAddress), Coin.parseCoin(amount));

return request.tx.getFee().toPlainString();


*But, seems that the sum of inputs is Zero, so it shows me that the fee is the 
amount to send.*


*Thanks*

-- 
You received this message because you are subscribed to the Google Groups 
"bitcoinj" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bitcoinj+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to