Skip to main content
Glama
query.lcd.js1.05 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LCDQueryClient = void 0; //@ts-nocheck const helpers_1 = require("../../../../helpers"); class LCDQueryClient { req; constructor({ requestClient }) { this.req = requestClient; this.checksums = this.checksums.bind(this); this.code = this.code.bind(this); } /* Get all Wasm checksums */ async checksums(params = { pagination: undefined }) { const options = { params: {} }; if (typeof params?.pagination !== "undefined") { (0, helpers_1.setPaginationParams)(options, params.pagination); } const endpoint = `ibc/lightclients/wasm/v1/checksums`; return await this.req.get(endpoint, options); } /* Get Wasm code for given checksum */ async code(params) { const endpoint = `ibc/lightclients/wasm/v1/checksums/${params.checksum}/code`; return await this.req.get(endpoint); } } exports.LCDQueryClient = LCDQueryClient;

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MyronKoch-dev/osmosis-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server