Skip to main content

v1/getCurrentExchangeRates RPC Method

Retrieves the exchange rate for a specific base and quote asset at a given time or the current rate.

Updated on
Jan 30, 2025

v1/getCurrentExchangeRates RPC Method

Parameters

asset_id_base
string
REQUIRED
Requested exchange rates base asset identifier (from the Metadata -> Assets)

Returns

result
object
Exchange rate information
asset_id_base
string
Gets or sets the base asset ID
rates
array
Gets or sets the list of exchange rates
time
string
Gets or sets the time of the exchange rate
asset_id_quote
string
Gets or sets the quote asset ID of the exchange rate
rate
integer
Gets or sets the exchange rate value
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free