Skip to main content

Analytics

๐Ÿ“„๏ธGet Exchange Rates

Returns the USD rate of each currency token you name, so analytics volumes reported in different currencies can be put on one axis: multiply a volume by its token's rate. The rate belongs to the token's fiat currency and comes from the stored spot prices the platform refreshes periodically; this call never waits on an external price service. A token with no fiat currency, an id that matches no currency token, or a currency with no stored price is reported as "1" rather than omitted, so its figures stay visible in their own units. The endpoint is not scoped to a node.