Pinned

PinnedCodes gets the pinned code ids

GET/cosmwasm/wasm/v1/codes/pinned
Query parameters
Response

A successful response.

Body
code_idsarray of string (uint64)
paginationobject

pagination defines the pagination in the response.

Request
const response = await fetch('/cosmwasm/wasm/v1/codes/pinned', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "code_ids": [
    "text"
  ],
  "pagination": {
    "next_key": "Ynl0ZXM=",
    "total": "text"
  }
}

Last updated