pinned

GET

/cosmwasm/wasm/v1/codes/pinned

PinnedCodes gets the pinned code ids

Parameters

Responses

Example Usage

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

const queryClient = await getQueryClient("YOUR_RPC_URL");
const { pinnedCodes } = queryClient.cosmwasm.wasm.v1;

const params: QueryPinnedCodesRequest = { 
	
 };
const response: QueryPinnedCodesResponseSDKType = await pinnedCodes(params);