I am trying to include the Ethereum price which is not included in the free version of the Open Exchange Rate API rate.
I think I might be able to make some modifications to make it work.
So I added a function in the money.js as follow:
var append = fx.append = (key, value) => {
fx.rates[key] = value
}
And in my main.js:
fx.rate['ETH'] = 0.00061;
However, this doesn't work. It would be great if anyone can point me a way out.
Sorry, I am new to JS too.
Thanks.
Hi,
I am trying to include the Ethereum price which is not included in the free version of the Open Exchange Rate API rate. I think I might be able to make some modifications to make it work. So I added a function in the money.js as follow: var append = fx.append = (key, value) => { fx.rates[key] = value } And in my main.js: fx.rate['ETH'] = 0.00061; However, this doesn't work. It would be great if anyone can point me a way out. Sorry, I am new to JS too. Thanks.