Sounds like TransactionInput.getValue() is your friend. However if the
input isn't connected to an output of a previous transaction then that
value isn't known.

Transactions can send to any number of addresses (and other script
types) at the same time. Loop through all the outputs and use the
getAddressFrom* methods.


On 01/23/2017 10:13 PM, [email protected] wrote:
> Hello,
> 
> Is there a way to find the amount of bitcoins each TransactionInput sent to 
> the Transaction object? I also want to know if it is possible to find the 
> amount that is sent to the TransactionObject and the address associated 
> with the Transaction Object. 
> 
> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to