get_prices

GET

/sei-protocol/seichain/dex/get_prices/{contractAddr}/{priceDenom}/{assetDenom}

Parameters

contractAddr*stringpath

priceDenom*stringpath

assetDenom*stringpath

Responses

Example Usage

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

const queryClient = await getQueryClient("YOUR_RPC_URL");
const { getPrices } = queryClient.sei-protocol.seichain.dex;

const params: QueryGetPricesRequest = { 
	contractAddr: "",
	priceDenom: "",
	assetDenom: ""
 };
const response: QueryGetPricesResponseSDKType = await getPrices(params);