get_orders

GET

/sei-protocol/seichain/dex/get_orders/{contractAddr}/{account}

Parameters

contractAddr*stringpath

account*stringpath

Responses

Example Usage

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

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

const params: QueryGetOrdersRequest = { 
	contractAddr: "",
	account: ""
 };
const response: QueryGetOrdersResponseSDKType = await getOrders(params);