exchange_rates

GET

/sei-protocol/sei-chain/oracle/denoms/exchange_rates

ExchangeRates returns exchange rates of all denoms

Responses

Example Usage

import { getQueryClient } from '@sei-js/cosmjs';

const queryClient = await getQueryClient("YOUR_RPC_URL");
const { exchangeRates } = queryClient.sei-protocol.sei-chain.oracle;

const params: QueryExchangeRatesRequest = {};
const response: QueryExchangeRatesResponseSDKType = await exchangeRates(params);