price_snapshot_history

GET

/sei-protocol/sei-chain/oracle/denoms/price_snapshot_history

PriceSnapshotHistory returns the history of price snapshots for all assets

Responses

Example Usage

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

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

const params: QueryPriceSnapshotHistoryRequest = {};
const response: QueryPriceSnapshotHistoryResponseSDKType = await priceSnapshotHistory(params);