Post
Topic
Board Service Announcements (Altcoins)
Re: Whattomine - profitability website with basic json.
by
babalz
on 24/12/2017, 08:02:24 UTC
How to use the auto current difficulty instead of the 24h difficulty for a single coin json? for example https://whattomine.com/coins/200-vivo-neoscrypt?utf8=%E2%9C%93&hr=4500&p=1000&fee=1&cost=0.1&hcost=0.0&commit=Calculate&revenue=current



You need to make a first call, read current_difficulty from it and make a second query with `d` param.

I am currently doing that, but I think it is not good to your server because of unnecessary double request for 1 result. Thanks for your response anyway.