Last updated 5 months ago
Was this helpful?
{ "ETH":{ "EUR":"2258.7", "USD":"2386.15" }, "BTC":{ "EUR":"30086.5", "USD":"31784" } }
Fetch the market rates for all specified currency pairs.
Returns the available rates for the requested currency pairs.
const response = await fetch('/api/v1/exchange/rates/market?fromCurrency=BCH&toCurrency=BCH', { method: 'GET', headers: {}, }); const data = await response.json();
{ "BTC": { "USDC": "30000.34" }, "XRP": {} }