Can i get transaction size before Wallet.completeTx(sendRequest) ? On Friday, December 1, 2017 at 9:09:18 PM UTC+5:30, Andreas Schildbach wrote: > > On 11/29/2017 09:36 AM, Ajit Soman wrote: > > > In my wallet i have 2 BTC now i want to send 1 BTC to some address , Is > it > > possible to deduct fee from that 1 BTC instead remaining balance. > > Yes, it's called "recipient pays fee". See the recipientsPaysFees field > in SendRequest. > > > Also > > there there is any way to calculate transaction size before sending > > transaction to blockchain ? > > Yes, after you've done Wallet.completeTx(sendRequest), > tx.getMessageSize() should be accurate. > >
-- 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.