Excessive log errors trying to obtain exchange rate data from Coindesk API #733
Unanswered
dmullinsgithub
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In February 2025, the btc-rpc-explorer logs began displaying numerous errors when trying to obtain BTC exchange rate data using the Coindesk API (https://api.coindesk.com/v1/bpi/currentprice.json). The code attempting to use this API is located in btc.js
I created a fix for this by using an apparently new API from Coindesk (https://min-api.cryptocompare.com/data/price?fsym=BTC&tsyms=USD,GBP,EUR). Not sure if this is the best approach since I am not an experienced js developer, but it works. I have attached the modified btc.js (renamed to btc_ratefix_for_github.txt to allow it to be attached here):
btc_ratefix_for_github.txt
Beta Was this translation helpful? Give feedback.
All reactions