Skip to main content
Glama
query.d.ts11.4 kB
import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../../cosmos/base/query/v1beta1/pagination"; import { Params, ParamsAmino, ParamsSDKType } from "./params"; import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; import { Pool as Pool1 } from "../../concentratedliquidity/v1beta1/pool"; import { PoolProtoMsg as Pool1ProtoMsg } from "../../concentratedliquidity/v1beta1/pool"; import { PoolSDKType as Pool1SDKType } from "../../concentratedliquidity/v1beta1/pool"; import { CosmWasmPool, CosmWasmPoolProtoMsg, CosmWasmPoolSDKType } from "./model/pool"; import { Pool as Pool2 } from "../../gamm/poolmodels/stableswap/v1beta1/stableswap_pool"; import { PoolProtoMsg as Pool2ProtoMsg } from "../../gamm/poolmodels/stableswap/v1beta1/stableswap_pool"; import { PoolSDKType as Pool2SDKType } from "../../gamm/poolmodels/stableswap/v1beta1/stableswap_pool"; import { Pool as Pool3 } from "../../gamm/v1beta1/balancerPool"; import { PoolProtoMsg as Pool3ProtoMsg } from "../../gamm/v1beta1/balancerPool"; import { PoolSDKType as Pool3SDKType } from "../../gamm/v1beta1/balancerPool"; import { BinaryReader, BinaryWriter } from "../../../binary"; /** =============================== ContractInfoByPoolId */ export interface ParamsRequest { } export interface ParamsRequestProtoMsg { typeUrl: "/osmosis.cosmwasmpool.v1beta1.ParamsRequest"; value: Uint8Array; } /** =============================== ContractInfoByPoolId */ export interface ParamsRequestAmino { } export interface ParamsRequestAminoMsg { type: "osmosis/cosmwasmpool/params-request"; value: ParamsRequestAmino; } /** =============================== ContractInfoByPoolId */ export interface ParamsRequestSDKType { } export interface ParamsResponse { params: Params; } export interface ParamsResponseProtoMsg { typeUrl: "/osmosis.cosmwasmpool.v1beta1.ParamsResponse"; value: Uint8Array; } export interface ParamsResponseAmino { params?: ParamsAmino; } export interface ParamsResponseAminoMsg { type: "osmosis/cosmwasmpool/params-response"; value: ParamsResponseAmino; } export interface ParamsResponseSDKType { params: ParamsSDKType; } /** =============================== Pools */ export interface PoolsRequest { /** pagination defines an optional pagination for the request. */ pagination?: PageRequest; } export interface PoolsRequestProtoMsg { typeUrl: "/osmosis.cosmwasmpool.v1beta1.PoolsRequest"; value: Uint8Array; } /** =============================== Pools */ export interface PoolsRequestAmino { /** pagination defines an optional pagination for the request. */ pagination?: PageRequestAmino; } export interface PoolsRequestAminoMsg { type: "osmosis/cosmwasmpool/pools-request"; value: PoolsRequestAmino; } /** =============================== Pools */ export interface PoolsRequestSDKType { pagination?: PageRequestSDKType; } export interface PoolsResponse { pools: (Pool1 | CosmWasmPool | Pool2 | Pool3 | Any)[] | Any[]; /** pagination defines the pagination in the response. */ pagination?: PageResponse; } export interface PoolsResponseProtoMsg { typeUrl: "/osmosis.cosmwasmpool.v1beta1.PoolsResponse"; value: Uint8Array; } export type PoolsResponseEncoded = Omit<PoolsResponse, "pools"> & { pools: (Pool1ProtoMsg | CosmWasmPoolProtoMsg | Pool2ProtoMsg | Pool3ProtoMsg | AnyProtoMsg)[]; }; export interface PoolsResponseAmino { pools?: AnyAmino[]; /** pagination defines the pagination in the response. */ pagination?: PageResponseAmino; } export interface PoolsResponseAminoMsg { type: "osmosis/cosmwasmpool/pools-response"; value: PoolsResponseAmino; } export interface PoolsResponseSDKType { pools: (Pool1SDKType | CosmWasmPoolSDKType | Pool2SDKType | Pool3SDKType | AnySDKType)[]; pagination?: PageResponseSDKType; } /** =============================== ContractInfoByPoolId */ export interface ContractInfoByPoolIdRequest { /** pool_id is the pool id of the requested pool. */ poolId: bigint; } export interface ContractInfoByPoolIdRequestProtoMsg { typeUrl: "/osmosis.cosmwasmpool.v1beta1.ContractInfoByPoolIdRequest"; value: Uint8Array; } /** =============================== ContractInfoByPoolId */ export interface ContractInfoByPoolIdRequestAmino { /** pool_id is the pool id of the requested pool. */ pool_id?: string; } export interface ContractInfoByPoolIdRequestAminoMsg { type: "osmosis/cosmwasmpool/contract-info-by-pool-id-request"; value: ContractInfoByPoolIdRequestAmino; } /** =============================== ContractInfoByPoolId */ export interface ContractInfoByPoolIdRequestSDKType { pool_id: bigint; } export interface ContractInfoByPoolIdResponse { /** * contract_address is the pool address and contract address * of the requested pool id. */ contractAddress: string; /** code_id is the code id of the requested pool id. */ codeId: bigint; } export interface ContractInfoByPoolIdResponseProtoMsg { typeUrl: "/osmosis.cosmwasmpool.v1beta1.ContractInfoByPoolIdResponse"; value: Uint8Array; } export interface ContractInfoByPoolIdResponseAmino { /** * contract_address is the pool address and contract address * of the requested pool id. */ contract_address?: string; /** code_id is the code id of the requested pool id. */ code_id?: string; } export interface ContractInfoByPoolIdResponseAminoMsg { type: "osmosis/cosmwasmpool/contract-info-by-pool-id-response"; value: ContractInfoByPoolIdResponseAmino; } export interface ContractInfoByPoolIdResponseSDKType { contract_address: string; code_id: bigint; } export declare const ParamsRequest: { typeUrl: string; aminoType: string; is(o: any): o is ParamsRequest; isSDK(o: any): o is ParamsRequestSDKType; isAmino(o: any): o is ParamsRequestAmino; encode(_: ParamsRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): ParamsRequest; fromPartial(_: Partial<ParamsRequest>): ParamsRequest; fromAmino(_: ParamsRequestAmino): ParamsRequest; toAmino(_: ParamsRequest): ParamsRequestAmino; fromAminoMsg(object: ParamsRequestAminoMsg): ParamsRequest; toAminoMsg(message: ParamsRequest): ParamsRequestAminoMsg; fromProtoMsg(message: ParamsRequestProtoMsg): ParamsRequest; toProto(message: ParamsRequest): Uint8Array; toProtoMsg(message: ParamsRequest): ParamsRequestProtoMsg; }; export declare const ParamsResponse: { typeUrl: string; aminoType: string; is(o: any): o is ParamsResponse; isSDK(o: any): o is ParamsResponseSDKType; isAmino(o: any): o is ParamsResponseAmino; encode(message: ParamsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): ParamsResponse; fromPartial(object: Partial<ParamsResponse>): ParamsResponse; fromAmino(object: ParamsResponseAmino): ParamsResponse; toAmino(message: ParamsResponse): ParamsResponseAmino; fromAminoMsg(object: ParamsResponseAminoMsg): ParamsResponse; toAminoMsg(message: ParamsResponse): ParamsResponseAminoMsg; fromProtoMsg(message: ParamsResponseProtoMsg): ParamsResponse; toProto(message: ParamsResponse): Uint8Array; toProtoMsg(message: ParamsResponse): ParamsResponseProtoMsg; }; export declare const PoolsRequest: { typeUrl: string; aminoType: string; is(o: any): o is PoolsRequest; isSDK(o: any): o is PoolsRequestSDKType; isAmino(o: any): o is PoolsRequestAmino; encode(message: PoolsRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): PoolsRequest; fromPartial(object: Partial<PoolsRequest>): PoolsRequest; fromAmino(object: PoolsRequestAmino): PoolsRequest; toAmino(message: PoolsRequest): PoolsRequestAmino; fromAminoMsg(object: PoolsRequestAminoMsg): PoolsRequest; toAminoMsg(message: PoolsRequest): PoolsRequestAminoMsg; fromProtoMsg(message: PoolsRequestProtoMsg): PoolsRequest; toProto(message: PoolsRequest): Uint8Array; toProtoMsg(message: PoolsRequest): PoolsRequestProtoMsg; }; export declare const PoolsResponse: { typeUrl: string; aminoType: string; is(o: any): o is PoolsResponse; isSDK(o: any): o is PoolsResponseSDKType; isAmino(o: any): o is PoolsResponseAmino; encode(message: PoolsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): PoolsResponse; fromPartial(object: Partial<PoolsResponse>): PoolsResponse; fromAmino(object: PoolsResponseAmino): PoolsResponse; toAmino(message: PoolsResponse): PoolsResponseAmino; fromAminoMsg(object: PoolsResponseAminoMsg): PoolsResponse; toAminoMsg(message: PoolsResponse): PoolsResponseAminoMsg; fromProtoMsg(message: PoolsResponseProtoMsg): PoolsResponse; toProto(message: PoolsResponse): Uint8Array; toProtoMsg(message: PoolsResponse): PoolsResponseProtoMsg; }; export declare const ContractInfoByPoolIdRequest: { typeUrl: string; aminoType: string; is(o: any): o is ContractInfoByPoolIdRequest; isSDK(o: any): o is ContractInfoByPoolIdRequestSDKType; isAmino(o: any): o is ContractInfoByPoolIdRequestAmino; encode(message: ContractInfoByPoolIdRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): ContractInfoByPoolIdRequest; fromPartial(object: Partial<ContractInfoByPoolIdRequest>): ContractInfoByPoolIdRequest; fromAmino(object: ContractInfoByPoolIdRequestAmino): ContractInfoByPoolIdRequest; toAmino(message: ContractInfoByPoolIdRequest): ContractInfoByPoolIdRequestAmino; fromAminoMsg(object: ContractInfoByPoolIdRequestAminoMsg): ContractInfoByPoolIdRequest; toAminoMsg(message: ContractInfoByPoolIdRequest): ContractInfoByPoolIdRequestAminoMsg; fromProtoMsg(message: ContractInfoByPoolIdRequestProtoMsg): ContractInfoByPoolIdRequest; toProto(message: ContractInfoByPoolIdRequest): Uint8Array; toProtoMsg(message: ContractInfoByPoolIdRequest): ContractInfoByPoolIdRequestProtoMsg; }; export declare const ContractInfoByPoolIdResponse: { typeUrl: string; aminoType: string; is(o: any): o is ContractInfoByPoolIdResponse; isSDK(o: any): o is ContractInfoByPoolIdResponseSDKType; isAmino(o: any): o is ContractInfoByPoolIdResponseAmino; encode(message: ContractInfoByPoolIdResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): ContractInfoByPoolIdResponse; fromPartial(object: Partial<ContractInfoByPoolIdResponse>): ContractInfoByPoolIdResponse; fromAmino(object: ContractInfoByPoolIdResponseAmino): ContractInfoByPoolIdResponse; toAmino(message: ContractInfoByPoolIdResponse): ContractInfoByPoolIdResponseAmino; fromAminoMsg(object: ContractInfoByPoolIdResponseAminoMsg): ContractInfoByPoolIdResponse; toAminoMsg(message: ContractInfoByPoolIdResponse): ContractInfoByPoolIdResponseAminoMsg; fromProtoMsg(message: ContractInfoByPoolIdResponseProtoMsg): ContractInfoByPoolIdResponse; toProto(message: ContractInfoByPoolIdResponse): Uint8Array; toProtoMsg(message: ContractInfoByPoolIdResponse): ContractInfoByPoolIdResponseProtoMsg; };

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