Ok, thanks.

On 16 April 2017 at 14:35, Chris Pacia <ctpa...@gmail.com> wrote:

> Blockchain.info runs full nodes. The only real way to get an estimate of
> fees at this point is to query an API.
>
> On Apr 16, 2017 3:09 PM, "Nishil Shah" <nishil.sha...@gmail.com> wrote:
>
>> Is it due to this limitation than getFee() always returns 0?
>>
>> How can blockchain.info determine the transaction fees, while I'm not
>> able to using bitcoinj?
>>
>> On Saturday, April 15, 2017 at 4:39:12 AM UTC-5, Andreas Schildbach wrote:
>>>
>>> On 04/15/2017 05:57 AM, Nishil Shah wrote:
>>> > I'm able to get the transaction input address using getFromAddress().
>>> > However, when I try to get a value associated with a transaction
>>> input, I
>>> > keep getting null. Anyone know why this is? Is there any other way to
>>> get
>>> > it?
>>>
>>> You only can get the input amount if it has a connected output. This is
>>> usually only the case for transactions you created yourself.
>>>
>>> This is a limitation of the Bitcoin transaction format. For redundancy
>>> reasons, inputs do not have an amount -- they always spend a whole
>>> output.
>>>
>>>
>>> --
>> 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.
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "bitcoinj" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/bitcoinj/-wah6Il171k/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> bitcoinj+unsubscr...@googlegroups.com.
> 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.

Reply via email to