thanks I did find transaction.getFee() also worked... :)
Maybe a bad way of doing this though. Ed On Sunday, October 1, 2017 at 12:18:33 AM UTC+1, Andreas Schildbach wrote: > > Transaction.getValue() will be positive if the payment was incoming, and > negative if the payment was outgoing. If it is zero, the transaction was > neutral to your wallet. > > > On 10/01/2017 01:06 AM, Edik Edik wrote: > > Hi there > > > > Are there any methods on the Transaction object that can tell me whether > > this is an outgoing or incoming originated transaction? > > > > I'm not talking about the various inputs/outputs (that obviously can be > > seen with getOutput/getInput) but whether the transaction itself as a > > whole (with all its inputs/outputs) was started by me or was sent to me. > > > > I browsed the methods on Transaction without success. > > > > Thanks again. > > > > -- > > 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+u...@googlegroups.com <javascript:> > > <mailto:bitcoinj+u...@googlegroups.com <javascript:>>. > > For more options, visit https://groups.google.com/d/optout. > > > -- 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.