airgap-it/airgap-coin-lib

No USD price and chart

skkw opened this issue · 3 comments

skkw commented

For AE tokens in the wallet, we see a balance $0.0, without any chart showing the token price changes.

Seems like the functionality is handled here:

function price (fsym, tsyms, options) {
options = options || {}
let url = `${baseUrl}price?fsym=${fsym}&tsyms=${tsyms}`
if (options.exchanges) url += `&e=${options.exchanges}`
if (options.tryConversion === false) url += '&tryConversion=false'
return fetchJSON(url)
}

When fetching the price directly it works:

$ curl -s "https://min-api.cryptocompare.com/data/price?fsym=AE&tsyms=USD" | jq '.'
{
  "USD": 0.1917
}

It worked fine couple months ago.

Hi @airgap-gitlab any update on this one? Since it worked flawlessly a few weeks ago it should probably not be too hard to fix it?

It should work again now. We updated our backend.

Thank you @AndreasGassmann .