interchainjs
Version:
InterchainJS is a JavaScript library for interacting with Cosmos SDK based blockchains.
1,647 lines • 91.8 kB
TypeScript
import { PageRequest, PageRequestAmino, PageResponse, PageResponseAmino } from "../../../../cosmos/base/query/v1beta1/pagination";
import { Channel, ChannelAmino, IdentifiedChannel, IdentifiedChannelAmino, PacketState, PacketStateAmino } from "./channel";
import { Height, HeightAmino, IdentifiedClientState, IdentifiedClientStateAmino, Params, ParamsAmino } from "../../client/v1/client";
import { Any, AnyAmino } from "../../../../google/protobuf/any";
import { ErrorReceipt, ErrorReceiptAmino, Upgrade, UpgradeAmino } from "./upgrade";
import { BinaryReader, BinaryWriter } from "../../../../binary";
import { DeepPartial } from "../../../../helpers";
/**
* QueryChannelRequest is the request type for the Query/Channel RPC method
* @name QueryChannelRequest
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryChannelRequest
*/
export interface QueryChannelRequest {
/**
* port unique identifier
*/
portId: string;
/**
* channel unique identifier
*/
channelId: string;
}
export interface QueryChannelRequestProtoMsg {
typeUrl: "/ibc.core.channel.v1.QueryChannelRequest";
value: Uint8Array;
}
/**
* QueryChannelRequest is the request type for the Query/Channel RPC method
* @name QueryChannelRequestAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryChannelRequest
*/
export interface QueryChannelRequestAmino {
/**
* port unique identifier
*/
port_id: string;
/**
* channel unique identifier
*/
channel_id: string;
}
export interface QueryChannelRequestAminoMsg {
type: "cosmos-sdk/QueryChannelRequest";
value: QueryChannelRequestAmino;
}
/**
* QueryChannelResponse is the response type for the Query/Channel RPC method.
* Besides the Channel end, it includes a proof and the height from which the
* proof was retrieved.
* @name QueryChannelResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryChannelResponse
*/
export interface QueryChannelResponse {
/**
* channel associated with the request identifiers
*/
channel?: Channel;
/**
* merkle proof of existence
*/
proof: Uint8Array;
/**
* height at which the proof was retrieved
*/
proofHeight: Height;
}
export interface QueryChannelResponseProtoMsg {
typeUrl: "/ibc.core.channel.v1.QueryChannelResponse";
value: Uint8Array;
}
/**
* QueryChannelResponse is the response type for the Query/Channel RPC method.
* Besides the Channel end, it includes a proof and the height from which the
* proof was retrieved.
* @name QueryChannelResponseAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryChannelResponse
*/
export interface QueryChannelResponseAmino {
/**
* channel associated with the request identifiers
*/
channel?: ChannelAmino;
/**
* merkle proof of existence
*/
proof: string;
/**
* height at which the proof was retrieved
*/
proof_height: HeightAmino;
}
export interface QueryChannelResponseAminoMsg {
type: "cosmos-sdk/QueryChannelResponse";
value: QueryChannelResponseAmino;
}
/**
* QueryChannelsRequest is the request type for the Query/Channels RPC method
* @name QueryChannelsRequest
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryChannelsRequest
*/
export interface QueryChannelsRequest {
/**
* pagination request
*/
pagination?: PageRequest;
}
export interface QueryChannelsRequestProtoMsg {
typeUrl: "/ibc.core.channel.v1.QueryChannelsRequest";
value: Uint8Array;
}
/**
* QueryChannelsRequest is the request type for the Query/Channels RPC method
* @name QueryChannelsRequestAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryChannelsRequest
*/
export interface QueryChannelsRequestAmino {
/**
* pagination request
*/
pagination?: PageRequestAmino;
}
export interface QueryChannelsRequestAminoMsg {
type: "cosmos-sdk/QueryChannelsRequest";
value: QueryChannelsRequestAmino;
}
/**
* QueryChannelsResponse is the response type for the Query/Channels RPC method.
* @name QueryChannelsResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryChannelsResponse
*/
export interface QueryChannelsResponse {
/**
* list of stored channels of the chain.
*/
channels: IdentifiedChannel[];
/**
* pagination response
*/
pagination?: PageResponse;
/**
* query block height
*/
height: Height;
}
export interface QueryChannelsResponseProtoMsg {
typeUrl: "/ibc.core.channel.v1.QueryChannelsResponse";
value: Uint8Array;
}
/**
* QueryChannelsResponse is the response type for the Query/Channels RPC method.
* @name QueryChannelsResponseAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryChannelsResponse
*/
export interface QueryChannelsResponseAmino {
/**
* list of stored channels of the chain.
*/
channels: IdentifiedChannelAmino[];
/**
* pagination response
*/
pagination?: PageResponseAmino;
/**
* query block height
*/
height: HeightAmino;
}
export interface QueryChannelsResponseAminoMsg {
type: "cosmos-sdk/QueryChannelsResponse";
value: QueryChannelsResponseAmino;
}
/**
* QueryConnectionChannelsRequest is the request type for the
* Query/QueryConnectionChannels RPC method
* @name QueryConnectionChannelsRequest
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryConnectionChannelsRequest
*/
export interface QueryConnectionChannelsRequest {
/**
* connection unique identifier
*/
connection: string;
/**
* pagination request
*/
pagination?: PageRequest;
}
export interface QueryConnectionChannelsRequestProtoMsg {
typeUrl: "/ibc.core.channel.v1.QueryConnectionChannelsRequest";
value: Uint8Array;
}
/**
* QueryConnectionChannelsRequest is the request type for the
* Query/QueryConnectionChannels RPC method
* @name QueryConnectionChannelsRequestAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryConnectionChannelsRequest
*/
export interface QueryConnectionChannelsRequestAmino {
/**
* connection unique identifier
*/
connection: string;
/**
* pagination request
*/
pagination?: PageRequestAmino;
}
export interface QueryConnectionChannelsRequestAminoMsg {
type: "cosmos-sdk/QueryConnectionChannelsRequest";
value: QueryConnectionChannelsRequestAmino;
}
/**
* QueryConnectionChannelsResponse is the Response type for the
* Query/QueryConnectionChannels RPC method
* @name QueryConnectionChannelsResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryConnectionChannelsResponse
*/
export interface QueryConnectionChannelsResponse {
/**
* list of channels associated with a connection.
*/
channels: IdentifiedChannel[];
/**
* pagination response
*/
pagination?: PageResponse;
/**
* query block height
*/
height: Height;
}
export interface QueryConnectionChannelsResponseProtoMsg {
typeUrl: "/ibc.core.channel.v1.QueryConnectionChannelsResponse";
value: Uint8Array;
}
/**
* QueryConnectionChannelsResponse is the Response type for the
* Query/QueryConnectionChannels RPC method
* @name QueryConnectionChannelsResponseAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryConnectionChannelsResponse
*/
export interface QueryConnectionChannelsResponseAmino {
/**
* list of channels associated with a connection.
*/
channels: IdentifiedChannelAmino[];
/**
* pagination response
*/
pagination?: PageResponseAmino;
/**
* query block height
*/
height: HeightAmino;
}
export interface QueryConnectionChannelsResponseAminoMsg {
type: "cosmos-sdk/QueryConnectionChannelsResponse";
value: QueryConnectionChannelsResponseAmino;
}
/**
* QueryChannelClientStateRequest is the request type for the Query/ClientState
* RPC method
* @name QueryChannelClientStateRequest
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryChannelClientStateRequest
*/
export interface QueryChannelClientStateRequest {
/**
* port unique identifier
*/
portId: string;
/**
* channel unique identifier
*/
channelId: string;
}
export interface QueryChannelClientStateRequestProtoMsg {
typeUrl: "/ibc.core.channel.v1.QueryChannelClientStateRequest";
value: Uint8Array;
}
/**
* QueryChannelClientStateRequest is the request type for the Query/ClientState
* RPC method
* @name QueryChannelClientStateRequestAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryChannelClientStateRequest
*/
export interface QueryChannelClientStateRequestAmino {
/**
* port unique identifier
*/
port_id: string;
/**
* channel unique identifier
*/
channel_id: string;
}
export interface QueryChannelClientStateRequestAminoMsg {
type: "cosmos-sdk/QueryChannelClientStateRequest";
value: QueryChannelClientStateRequestAmino;
}
/**
* QueryChannelClientStateResponse is the Response type for the
* Query/QueryChannelClientState RPC method
* @name QueryChannelClientStateResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryChannelClientStateResponse
*/
export interface QueryChannelClientStateResponse {
/**
* client state associated with the channel
*/
identifiedClientState?: IdentifiedClientState;
/**
* merkle proof of existence
*/
proof: Uint8Array;
/**
* height at which the proof was retrieved
*/
proofHeight: Height;
}
export interface QueryChannelClientStateResponseProtoMsg {
typeUrl: "/ibc.core.channel.v1.QueryChannelClientStateResponse";
value: Uint8Array;
}
/**
* QueryChannelClientStateResponse is the Response type for the
* Query/QueryChannelClientState RPC method
* @name QueryChannelClientStateResponseAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryChannelClientStateResponse
*/
export interface QueryChannelClientStateResponseAmino {
/**
* client state associated with the channel
*/
identified_client_state?: IdentifiedClientStateAmino;
/**
* merkle proof of existence
*/
proof: string;
/**
* height at which the proof was retrieved
*/
proof_height: HeightAmino;
}
export interface QueryChannelClientStateResponseAminoMsg {
type: "cosmos-sdk/QueryChannelClientStateResponse";
value: QueryChannelClientStateResponseAmino;
}
/**
* QueryChannelConsensusStateRequest is the request type for the
* Query/ConsensusState RPC method
* @name QueryChannelConsensusStateRequest
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryChannelConsensusStateRequest
*/
export interface QueryChannelConsensusStateRequest {
/**
* port unique identifier
*/
portId: string;
/**
* channel unique identifier
*/
channelId: string;
/**
* revision number of the consensus state
*/
revisionNumber: bigint;
/**
* revision height of the consensus state
*/
revisionHeight: bigint;
}
export interface QueryChannelConsensusStateRequestProtoMsg {
typeUrl: "/ibc.core.channel.v1.QueryChannelConsensusStateRequest";
value: Uint8Array;
}
/**
* QueryChannelConsensusStateRequest is the request type for the
* Query/ConsensusState RPC method
* @name QueryChannelConsensusStateRequestAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryChannelConsensusStateRequest
*/
export interface QueryChannelConsensusStateRequestAmino {
/**
* port unique identifier
*/
port_id: string;
/**
* channel unique identifier
*/
channel_id: string;
/**
* revision number of the consensus state
*/
revision_number: string;
/**
* revision height of the consensus state
*/
revision_height: string;
}
export interface QueryChannelConsensusStateRequestAminoMsg {
type: "cosmos-sdk/QueryChannelConsensusStateRequest";
value: QueryChannelConsensusStateRequestAmino;
}
/**
* QueryChannelClientStateResponse is the Response type for the
* Query/QueryChannelClientState RPC method
* @name QueryChannelConsensusStateResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryChannelConsensusStateResponse
*/
export interface QueryChannelConsensusStateResponse {
/**
* consensus state associated with the channel
*/
consensusState?: Any;
/**
* client ID associated with the consensus state
*/
clientId: string;
/**
* merkle proof of existence
*/
proof: Uint8Array;
/**
* height at which the proof was retrieved
*/
proofHeight: Height;
}
export interface QueryChannelConsensusStateResponseProtoMsg {
typeUrl: "/ibc.core.channel.v1.QueryChannelConsensusStateResponse";
value: Uint8Array;
}
/**
* QueryChannelClientStateResponse is the Response type for the
* Query/QueryChannelClientState RPC method
* @name QueryChannelConsensusStateResponseAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryChannelConsensusStateResponse
*/
export interface QueryChannelConsensusStateResponseAmino {
/**
* consensus state associated with the channel
*/
consensus_state?: AnyAmino;
/**
* client ID associated with the consensus state
*/
client_id: string;
/**
* merkle proof of existence
*/
proof: string;
/**
* height at which the proof was retrieved
*/
proof_height: HeightAmino;
}
export interface QueryChannelConsensusStateResponseAminoMsg {
type: "cosmos-sdk/QueryChannelConsensusStateResponse";
value: QueryChannelConsensusStateResponseAmino;
}
/**
* QueryPacketCommitmentRequest is the request type for the
* Query/PacketCommitment RPC method
* @name QueryPacketCommitmentRequest
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryPacketCommitmentRequest
*/
export interface QueryPacketCommitmentRequest {
/**
* port unique identifier
*/
portId: string;
/**
* channel unique identifier
*/
channelId: string;
/**
* packet sequence
*/
sequence: bigint;
}
export interface QueryPacketCommitmentRequestProtoMsg {
typeUrl: "/ibc.core.channel.v1.QueryPacketCommitmentRequest";
value: Uint8Array;
}
/**
* QueryPacketCommitmentRequest is the request type for the
* Query/PacketCommitment RPC method
* @name QueryPacketCommitmentRequestAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryPacketCommitmentRequest
*/
export interface QueryPacketCommitmentRequestAmino {
/**
* port unique identifier
*/
port_id: string;
/**
* channel unique identifier
*/
channel_id: string;
/**
* packet sequence
*/
sequence: string;
}
export interface QueryPacketCommitmentRequestAminoMsg {
type: "cosmos-sdk/QueryPacketCommitmentRequest";
value: QueryPacketCommitmentRequestAmino;
}
/**
* QueryPacketCommitmentResponse defines the client query response for a packet
* which also includes a proof and the height from which the proof was
* retrieved
* @name QueryPacketCommitmentResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryPacketCommitmentResponse
*/
export interface QueryPacketCommitmentResponse {
/**
* packet associated with the request fields
*/
commitment: Uint8Array;
/**
* merkle proof of existence
*/
proof: Uint8Array;
/**
* height at which the proof was retrieved
*/
proofHeight: Height;
}
export interface QueryPacketCommitmentResponseProtoMsg {
typeUrl: "/ibc.core.channel.v1.QueryPacketCommitmentResponse";
value: Uint8Array;
}
/**
* QueryPacketCommitmentResponse defines the client query response for a packet
* which also includes a proof and the height from which the proof was
* retrieved
* @name QueryPacketCommitmentResponseAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryPacketCommitmentResponse
*/
export interface QueryPacketCommitmentResponseAmino {
/**
* packet associated with the request fields
*/
commitment: string;
/**
* merkle proof of existence
*/
proof: string;
/**
* height at which the proof was retrieved
*/
proof_height: HeightAmino;
}
export interface QueryPacketCommitmentResponseAminoMsg {
type: "cosmos-sdk/QueryPacketCommitmentResponse";
value: QueryPacketCommitmentResponseAmino;
}
/**
* QueryPacketCommitmentsRequest is the request type for the
* Query/QueryPacketCommitments RPC method
* @name QueryPacketCommitmentsRequest
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryPacketCommitmentsRequest
*/
export interface QueryPacketCommitmentsRequest {
/**
* port unique identifier
*/
portId: string;
/**
* channel unique identifier
*/
channelId: string;
/**
* pagination request
*/
pagination?: PageRequest;
}
export interface QueryPacketCommitmentsRequestProtoMsg {
typeUrl: "/ibc.core.channel.v1.QueryPacketCommitmentsRequest";
value: Uint8Array;
}
/**
* QueryPacketCommitmentsRequest is the request type for the
* Query/QueryPacketCommitments RPC method
* @name QueryPacketCommitmentsRequestAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryPacketCommitmentsRequest
*/
export interface QueryPacketCommitmentsRequestAmino {
/**
* port unique identifier
*/
port_id: string;
/**
* channel unique identifier
*/
channel_id: string;
/**
* pagination request
*/
pagination?: PageRequestAmino;
}
export interface QueryPacketCommitmentsRequestAminoMsg {
type: "cosmos-sdk/QueryPacketCommitmentsRequest";
value: QueryPacketCommitmentsRequestAmino;
}
/**
* QueryPacketCommitmentsResponse is the request type for the
* Query/QueryPacketCommitments RPC method
* @name QueryPacketCommitmentsResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryPacketCommitmentsResponse
*/
export interface QueryPacketCommitmentsResponse {
commitments: PacketState[];
/**
* pagination response
*/
pagination?: PageResponse;
/**
* query block height
*/
height: Height;
}
export interface QueryPacketCommitmentsResponseProtoMsg {
typeUrl: "/ibc.core.channel.v1.QueryPacketCommitmentsResponse";
value: Uint8Array;
}
/**
* QueryPacketCommitmentsResponse is the request type for the
* Query/QueryPacketCommitments RPC method
* @name QueryPacketCommitmentsResponseAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryPacketCommitmentsResponse
*/
export interface QueryPacketCommitmentsResponseAmino {
commitments: PacketStateAmino[];
/**
* pagination response
*/
pagination?: PageResponseAmino;
/**
* query block height
*/
height: HeightAmino;
}
export interface QueryPacketCommitmentsResponseAminoMsg {
type: "cosmos-sdk/QueryPacketCommitmentsResponse";
value: QueryPacketCommitmentsResponseAmino;
}
/**
* QueryPacketReceiptRequest is the request type for the
* Query/PacketReceipt RPC method
* @name QueryPacketReceiptRequest
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryPacketReceiptRequest
*/
export interface QueryPacketReceiptRequest {
/**
* port unique identifier
*/
portId: string;
/**
* channel unique identifier
*/
channelId: string;
/**
* packet sequence
*/
sequence: bigint;
}
export interface QueryPacketReceiptRequestProtoMsg {
typeUrl: "/ibc.core.channel.v1.QueryPacketReceiptRequest";
value: Uint8Array;
}
/**
* QueryPacketReceiptRequest is the request type for the
* Query/PacketReceipt RPC method
* @name QueryPacketReceiptRequestAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryPacketReceiptRequest
*/
export interface QueryPacketReceiptRequestAmino {
/**
* port unique identifier
*/
port_id: string;
/**
* channel unique identifier
*/
channel_id: string;
/**
* packet sequence
*/
sequence: string;
}
export interface QueryPacketReceiptRequestAminoMsg {
type: "cosmos-sdk/QueryPacketReceiptRequest";
value: QueryPacketReceiptRequestAmino;
}
/**
* QueryPacketReceiptResponse defines the client query response for a packet
* receipt which also includes a proof, and the height from which the proof was
* retrieved
* @name QueryPacketReceiptResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryPacketReceiptResponse
*/
export interface QueryPacketReceiptResponse {
/**
* success flag for if receipt exists
*/
received: boolean;
/**
* merkle proof of existence
*/
proof: Uint8Array;
/**
* height at which the proof was retrieved
*/
proofHeight: Height;
}
export interface QueryPacketReceiptResponseProtoMsg {
typeUrl: "/ibc.core.channel.v1.QueryPacketReceiptResponse";
value: Uint8Array;
}
/**
* QueryPacketReceiptResponse defines the client query response for a packet
* receipt which also includes a proof, and the height from which the proof was
* retrieved
* @name QueryPacketReceiptResponseAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryPacketReceiptResponse
*/
export interface QueryPacketReceiptResponseAmino {
/**
* success flag for if receipt exists
*/
received: boolean;
/**
* merkle proof of existence
*/
proof: string;
/**
* height at which the proof was retrieved
*/
proof_height: HeightAmino;
}
export interface QueryPacketReceiptResponseAminoMsg {
type: "cosmos-sdk/QueryPacketReceiptResponse";
value: QueryPacketReceiptResponseAmino;
}
/**
* QueryPacketAcknowledgementRequest is the request type for the
* Query/PacketAcknowledgement RPC method
* @name QueryPacketAcknowledgementRequest
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryPacketAcknowledgementRequest
*/
export interface QueryPacketAcknowledgementRequest {
/**
* port unique identifier
*/
portId: string;
/**
* channel unique identifier
*/
channelId: string;
/**
* packet sequence
*/
sequence: bigint;
}
export interface QueryPacketAcknowledgementRequestProtoMsg {
typeUrl: "/ibc.core.channel.v1.QueryPacketAcknowledgementRequest";
value: Uint8Array;
}
/**
* QueryPacketAcknowledgementRequest is the request type for the
* Query/PacketAcknowledgement RPC method
* @name QueryPacketAcknowledgementRequestAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryPacketAcknowledgementRequest
*/
export interface QueryPacketAcknowledgementRequestAmino {
/**
* port unique identifier
*/
port_id: string;
/**
* channel unique identifier
*/
channel_id: string;
/**
* packet sequence
*/
sequence: string;
}
export interface QueryPacketAcknowledgementRequestAminoMsg {
type: "cosmos-sdk/QueryPacketAcknowledgementRequest";
value: QueryPacketAcknowledgementRequestAmino;
}
/**
* QueryPacketAcknowledgementResponse defines the client query response for a
* packet which also includes a proof and the height from which the
* proof was retrieved
* @name QueryPacketAcknowledgementResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryPacketAcknowledgementResponse
*/
export interface QueryPacketAcknowledgementResponse {
/**
* packet associated with the request fields
*/
acknowledgement: Uint8Array;
/**
* merkle proof of existence
*/
proof: Uint8Array;
/**
* height at which the proof was retrieved
*/
proofHeight: Height;
}
export interface QueryPacketAcknowledgementResponseProtoMsg {
typeUrl: "/ibc.core.channel.v1.QueryPacketAcknowledgementResponse";
value: Uint8Array;
}
/**
* QueryPacketAcknowledgementResponse defines the client query response for a
* packet which also includes a proof and the height from which the
* proof was retrieved
* @name QueryPacketAcknowledgementResponseAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryPacketAcknowledgementResponse
*/
export interface QueryPacketAcknowledgementResponseAmino {
/**
* packet associated with the request fields
*/
acknowledgement: string;
/**
* merkle proof of existence
*/
proof: string;
/**
* height at which the proof was retrieved
*/
proof_height: HeightAmino;
}
export interface QueryPacketAcknowledgementResponseAminoMsg {
type: "cosmos-sdk/QueryPacketAcknowledgementResponse";
value: QueryPacketAcknowledgementResponseAmino;
}
/**
* QueryPacketAcknowledgementsRequest is the request type for the
* Query/QueryPacketCommitments RPC method
* @name QueryPacketAcknowledgementsRequest
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryPacketAcknowledgementsRequest
*/
export interface QueryPacketAcknowledgementsRequest {
/**
* port unique identifier
*/
portId: string;
/**
* channel unique identifier
*/
channelId: string;
/**
* pagination request
*/
pagination?: PageRequest;
/**
* list of packet sequences
*/
packetCommitmentSequences: bigint[];
}
export interface QueryPacketAcknowledgementsRequestProtoMsg {
typeUrl: "/ibc.core.channel.v1.QueryPacketAcknowledgementsRequest";
value: Uint8Array;
}
/**
* QueryPacketAcknowledgementsRequest is the request type for the
* Query/QueryPacketCommitments RPC method
* @name QueryPacketAcknowledgementsRequestAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryPacketAcknowledgementsRequest
*/
export interface QueryPacketAcknowledgementsRequestAmino {
/**
* port unique identifier
*/
port_id: string;
/**
* channel unique identifier
*/
channel_id: string;
/**
* pagination request
*/
pagination?: PageRequestAmino;
/**
* list of packet sequences
*/
packet_commitment_sequences: string[];
}
export interface QueryPacketAcknowledgementsRequestAminoMsg {
type: "cosmos-sdk/QueryPacketAcknowledgementsRequest";
value: QueryPacketAcknowledgementsRequestAmino;
}
/**
* QueryPacketAcknowledgemetsResponse is the request type for the
* Query/QueryPacketAcknowledgements RPC method
* @name QueryPacketAcknowledgementsResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryPacketAcknowledgementsResponse
*/
export interface QueryPacketAcknowledgementsResponse {
acknowledgements: PacketState[];
/**
* pagination response
*/
pagination?: PageResponse;
/**
* query block height
*/
height: Height;
}
export interface QueryPacketAcknowledgementsResponseProtoMsg {
typeUrl: "/ibc.core.channel.v1.QueryPacketAcknowledgementsResponse";
value: Uint8Array;
}
/**
* QueryPacketAcknowledgemetsResponse is the request type for the
* Query/QueryPacketAcknowledgements RPC method
* @name QueryPacketAcknowledgementsResponseAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryPacketAcknowledgementsResponse
*/
export interface QueryPacketAcknowledgementsResponseAmino {
acknowledgements: PacketStateAmino[];
/**
* pagination response
*/
pagination?: PageResponseAmino;
/**
* query block height
*/
height: HeightAmino;
}
export interface QueryPacketAcknowledgementsResponseAminoMsg {
type: "cosmos-sdk/QueryPacketAcknowledgementsResponse";
value: QueryPacketAcknowledgementsResponseAmino;
}
/**
* QueryUnreceivedPacketsRequest is the request type for the
* Query/UnreceivedPackets RPC method
* @name QueryUnreceivedPacketsRequest
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryUnreceivedPacketsRequest
*/
export interface QueryUnreceivedPacketsRequest {
/**
* port unique identifier
*/
portId: string;
/**
* channel unique identifier
*/
channelId: string;
/**
* list of packet sequences
*/
packetCommitmentSequences: bigint[];
}
export interface QueryUnreceivedPacketsRequestProtoMsg {
typeUrl: "/ibc.core.channel.v1.QueryUnreceivedPacketsRequest";
value: Uint8Array;
}
/**
* QueryUnreceivedPacketsRequest is the request type for the
* Query/UnreceivedPackets RPC method
* @name QueryUnreceivedPacketsRequestAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryUnreceivedPacketsRequest
*/
export interface QueryUnreceivedPacketsRequestAmino {
/**
* port unique identifier
*/
port_id: string;
/**
* channel unique identifier
*/
channel_id: string;
/**
* list of packet sequences
*/
packet_commitment_sequences: string[];
}
export interface QueryUnreceivedPacketsRequestAminoMsg {
type: "cosmos-sdk/QueryUnreceivedPacketsRequest";
value: QueryUnreceivedPacketsRequestAmino;
}
/**
* QueryUnreceivedPacketsResponse is the response type for the
* Query/UnreceivedPacketCommitments RPC method
* @name QueryUnreceivedPacketsResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryUnreceivedPacketsResponse
*/
export interface QueryUnreceivedPacketsResponse {
/**
* list of unreceived packet sequences
*/
sequences: bigint[];
/**
* query block height
*/
height: Height;
}
export interface QueryUnreceivedPacketsResponseProtoMsg {
typeUrl: "/ibc.core.channel.v1.QueryUnreceivedPacketsResponse";
value: Uint8Array;
}
/**
* QueryUnreceivedPacketsResponse is the response type for the
* Query/UnreceivedPacketCommitments RPC method
* @name QueryUnreceivedPacketsResponseAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryUnreceivedPacketsResponse
*/
export interface QueryUnreceivedPacketsResponseAmino {
/**
* list of unreceived packet sequences
*/
sequences: string[];
/**
* query block height
*/
height: HeightAmino;
}
export interface QueryUnreceivedPacketsResponseAminoMsg {
type: "cosmos-sdk/QueryUnreceivedPacketsResponse";
value: QueryUnreceivedPacketsResponseAmino;
}
/**
* QueryUnreceivedAcks is the request type for the
* Query/UnreceivedAcks RPC method
* @name QueryUnreceivedAcksRequest
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryUnreceivedAcksRequest
*/
export interface QueryUnreceivedAcksRequest {
/**
* port unique identifier
*/
portId: string;
/**
* channel unique identifier
*/
channelId: string;
/**
* list of acknowledgement sequences
*/
packetAckSequences: bigint[];
}
export interface QueryUnreceivedAcksRequestProtoMsg {
typeUrl: "/ibc.core.channel.v1.QueryUnreceivedAcksRequest";
value: Uint8Array;
}
/**
* QueryUnreceivedAcks is the request type for the
* Query/UnreceivedAcks RPC method
* @name QueryUnreceivedAcksRequestAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryUnreceivedAcksRequest
*/
export interface QueryUnreceivedAcksRequestAmino {
/**
* port unique identifier
*/
port_id: string;
/**
* channel unique identifier
*/
channel_id: string;
/**
* list of acknowledgement sequences
*/
packet_ack_sequences: string[];
}
export interface QueryUnreceivedAcksRequestAminoMsg {
type: "cosmos-sdk/QueryUnreceivedAcksRequest";
value: QueryUnreceivedAcksRequestAmino;
}
/**
* QueryUnreceivedAcksResponse is the response type for the
* Query/UnreceivedAcks RPC method
* @name QueryUnreceivedAcksResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryUnreceivedAcksResponse
*/
export interface QueryUnreceivedAcksResponse {
/**
* list of unreceived acknowledgement sequences
*/
sequences: bigint[];
/**
* query block height
*/
height: Height;
}
export interface QueryUnreceivedAcksResponseProtoMsg {
typeUrl: "/ibc.core.channel.v1.QueryUnreceivedAcksResponse";
value: Uint8Array;
}
/**
* QueryUnreceivedAcksResponse is the response type for the
* Query/UnreceivedAcks RPC method
* @name QueryUnreceivedAcksResponseAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryUnreceivedAcksResponse
*/
export interface QueryUnreceivedAcksResponseAmino {
/**
* list of unreceived acknowledgement sequences
*/
sequences: string[];
/**
* query block height
*/
height: HeightAmino;
}
export interface QueryUnreceivedAcksResponseAminoMsg {
type: "cosmos-sdk/QueryUnreceivedAcksResponse";
value: QueryUnreceivedAcksResponseAmino;
}
/**
* QueryNextSequenceReceiveRequest is the request type for the
* Query/QueryNextSequenceReceiveRequest RPC method
* @name QueryNextSequenceReceiveRequest
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryNextSequenceReceiveRequest
*/
export interface QueryNextSequenceReceiveRequest {
/**
* port unique identifier
*/
portId: string;
/**
* channel unique identifier
*/
channelId: string;
}
export interface QueryNextSequenceReceiveRequestProtoMsg {
typeUrl: "/ibc.core.channel.v1.QueryNextSequenceReceiveRequest";
value: Uint8Array;
}
/**
* QueryNextSequenceReceiveRequest is the request type for the
* Query/QueryNextSequenceReceiveRequest RPC method
* @name QueryNextSequenceReceiveRequestAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryNextSequenceReceiveRequest
*/
export interface QueryNextSequenceReceiveRequestAmino {
/**
* port unique identifier
*/
port_id: string;
/**
* channel unique identifier
*/
channel_id: string;
}
export interface QueryNextSequenceReceiveRequestAminoMsg {
type: "cosmos-sdk/QueryNextSequenceReceiveRequest";
value: QueryNextSequenceReceiveRequestAmino;
}
/**
* QuerySequenceResponse is the response type for the
* Query/QueryNextSequenceReceiveResponse RPC method
* @name QueryNextSequenceReceiveResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryNextSequenceReceiveResponse
*/
export interface QueryNextSequenceReceiveResponse {
/**
* next sequence receive number
*/
nextSequenceReceive: bigint;
/**
* merkle proof of existence
*/
proof: Uint8Array;
/**
* height at which the proof was retrieved
*/
proofHeight: Height;
}
export interface QueryNextSequenceReceiveResponseProtoMsg {
typeUrl: "/ibc.core.channel.v1.QueryNextSequenceReceiveResponse";
value: Uint8Array;
}
/**
* QuerySequenceResponse is the response type for the
* Query/QueryNextSequenceReceiveResponse RPC method
* @name QueryNextSequenceReceiveResponseAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryNextSequenceReceiveResponse
*/
export interface QueryNextSequenceReceiveResponseAmino {
/**
* next sequence receive number
*/
next_sequence_receive: string;
/**
* merkle proof of existence
*/
proof: string;
/**
* height at which the proof was retrieved
*/
proof_height: HeightAmino;
}
export interface QueryNextSequenceReceiveResponseAminoMsg {
type: "cosmos-sdk/QueryNextSequenceReceiveResponse";
value: QueryNextSequenceReceiveResponseAmino;
}
/**
* QueryNextSequenceSendRequest is the request type for the
* Query/QueryNextSequenceSend RPC method
* @name QueryNextSequenceSendRequest
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryNextSequenceSendRequest
*/
export interface QueryNextSequenceSendRequest {
/**
* port unique identifier
*/
portId: string;
/**
* channel unique identifier
*/
channelId: string;
}
export interface QueryNextSequenceSendRequestProtoMsg {
typeUrl: "/ibc.core.channel.v1.QueryNextSequenceSendRequest";
value: Uint8Array;
}
/**
* QueryNextSequenceSendRequest is the request type for the
* Query/QueryNextSequenceSend RPC method
* @name QueryNextSequenceSendRequestAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryNextSequenceSendRequest
*/
export interface QueryNextSequenceSendRequestAmino {
/**
* port unique identifier
*/
port_id: string;
/**
* channel unique identifier
*/
channel_id: string;
}
export interface QueryNextSequenceSendRequestAminoMsg {
type: "cosmos-sdk/QueryNextSequenceSendRequest";
value: QueryNextSequenceSendRequestAmino;
}
/**
* QueryNextSequenceSendResponse is the request type for the
* Query/QueryNextSequenceSend RPC method
* @name QueryNextSequenceSendResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryNextSequenceSendResponse
*/
export interface QueryNextSequenceSendResponse {
/**
* next sequence send number
*/
nextSequenceSend: bigint;
/**
* merkle proof of existence
*/
proof: Uint8Array;
/**
* height at which the proof was retrieved
*/
proofHeight: Height;
}
export interface QueryNextSequenceSendResponseProtoMsg {
typeUrl: "/ibc.core.channel.v1.QueryNextSequenceSendResponse";
value: Uint8Array;
}
/**
* QueryNextSequenceSendResponse is the request type for the
* Query/QueryNextSequenceSend RPC method
* @name QueryNextSequenceSendResponseAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryNextSequenceSendResponse
*/
export interface QueryNextSequenceSendResponseAmino {
/**
* next sequence send number
*/
next_sequence_send: string;
/**
* merkle proof of existence
*/
proof: string;
/**
* height at which the proof was retrieved
*/
proof_height: HeightAmino;
}
export interface QueryNextSequenceSendResponseAminoMsg {
type: "cosmos-sdk/QueryNextSequenceSendResponse";
value: QueryNextSequenceSendResponseAmino;
}
/**
* QueryUpgradeErrorRequest is the request type for the Query/QueryUpgradeError RPC method
* @name QueryUpgradeErrorRequest
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryUpgradeErrorRequest
*/
export interface QueryUpgradeErrorRequest {
portId: string;
channelId: string;
}
export interface QueryUpgradeErrorRequestProtoMsg {
typeUrl: "/ibc.core.channel.v1.QueryUpgradeErrorRequest";
value: Uint8Array;
}
/**
* QueryUpgradeErrorRequest is the request type for the Query/QueryUpgradeError RPC method
* @name QueryUpgradeErrorRequestAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryUpgradeErrorRequest
*/
export interface QueryUpgradeErrorRequestAmino {
port_id: string;
channel_id: string;
}
export interface QueryUpgradeErrorRequestAminoMsg {
type: "cosmos-sdk/QueryUpgradeErrorRequest";
value: QueryUpgradeErrorRequestAmino;
}
/**
* QueryUpgradeErrorResponse is the response type for the Query/QueryUpgradeError RPC method
* @name QueryUpgradeErrorResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryUpgradeErrorResponse
*/
export interface QueryUpgradeErrorResponse {
errorReceipt: ErrorReceipt;
/**
* merkle proof of existence
*/
proof: Uint8Array;
/**
* height at which the proof was retrieved
*/
proofHeight: Height;
}
export interface QueryUpgradeErrorResponseProtoMsg {
typeUrl: "/ibc.core.channel.v1.QueryUpgradeErrorResponse";
value: Uint8Array;
}
/**
* QueryUpgradeErrorResponse is the response type for the Query/QueryUpgradeError RPC method
* @name QueryUpgradeErrorResponseAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryUpgradeErrorResponse
*/
export interface QueryUpgradeErrorResponseAmino {
error_receipt: ErrorReceiptAmino;
/**
* merkle proof of existence
*/
proof: string;
/**
* height at which the proof was retrieved
*/
proof_height: HeightAmino;
}
export interface QueryUpgradeErrorResponseAminoMsg {
type: "cosmos-sdk/QueryUpgradeErrorResponse";
value: QueryUpgradeErrorResponseAmino;
}
/**
* QueryUpgradeRequest is the request type for the QueryUpgradeRequest RPC method
* @name QueryUpgradeRequest
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryUpgradeRequest
*/
export interface QueryUpgradeRequest {
portId: string;
channelId: string;
}
export interface QueryUpgradeRequestProtoMsg {
typeUrl: "/ibc.core.channel.v1.QueryUpgradeRequest";
value: Uint8Array;
}
/**
* QueryUpgradeRequest is the request type for the QueryUpgradeRequest RPC method
* @name QueryUpgradeRequestAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryUpgradeRequest
*/
export interface QueryUpgradeRequestAmino {
port_id: string;
channel_id: string;
}
export interface QueryUpgradeRequestAminoMsg {
type: "cosmos-sdk/QueryUpgradeRequest";
value: QueryUpgradeRequestAmino;
}
/**
* QueryUpgradeResponse is the response type for the QueryUpgradeResponse RPC method
* @name QueryUpgradeResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryUpgradeResponse
*/
export interface QueryUpgradeResponse {
upgrade: Upgrade;
/**
* merkle proof of existence
*/
proof: Uint8Array;
/**
* height at which the proof was retrieved
*/
proofHeight: Height;
}
export interface QueryUpgradeResponseProtoMsg {
typeUrl: "/ibc.core.channel.v1.QueryUpgradeResponse";
value: Uint8Array;
}
/**
* QueryUpgradeResponse is the response type for the QueryUpgradeResponse RPC method
* @name QueryUpgradeResponseAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryUpgradeResponse
*/
export interface QueryUpgradeResponseAmino {
upgrade: UpgradeAmino;
/**
* merkle proof of existence
*/
proof: string;
/**
* height at which the proof was retrieved
*/
proof_height: HeightAmino;
}
export interface QueryUpgradeResponseAminoMsg {
type: "cosmos-sdk/QueryUpgradeResponse";
value: QueryUpgradeResponseAmino;
}
/**
* QueryChannelParamsRequest is the request type for the Query/ChannelParams RPC method.
* @name QueryChannelParamsRequest
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryChannelParamsRequest
*/
export interface QueryChannelParamsRequest {
}
export interface QueryChannelParamsRequestProtoMsg {
typeUrl: "/ibc.core.channel.v1.QueryChannelParamsRequest";
value: Uint8Array;
}
/**
* QueryChannelParamsRequest is the request type for the Query/ChannelParams RPC method.
* @name QueryChannelParamsRequestAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryChannelParamsRequest
*/
export interface QueryChannelParamsRequestAmino {
}
export interface QueryChannelParamsRequestAminoMsg {
type: "cosmos-sdk/QueryChannelParamsRequest";
value: QueryChannelParamsRequestAmino;
}
/**
* QueryChannelParamsResponse is the response type for the Query/ChannelParams RPC method.
* @name QueryChannelParamsResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryChannelParamsResponse
*/
export interface QueryChannelParamsResponse {
/**
* params defines the parameters of the module.
*/
params?: Params;
}
export interface QueryChannelParamsResponseProtoMsg {
typeUrl: "/ibc.core.channel.v1.QueryChannelParamsResponse";
value: Uint8Array;
}
/**
* QueryChannelParamsResponse is the response type for the Query/ChannelParams RPC method.
* @name QueryChannelParamsResponseAmino
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryChannelParamsResponse
*/
export interface QueryChannelParamsResponseAmino {
/**
* params defines the parameters of the module.
*/
params?: ParamsAmino;
}
export interface QueryChannelParamsResponseAminoMsg {
type: "cosmos-sdk/QueryChannelParamsResponse";
value: QueryChannelParamsResponseAmino;
}
/**
* QueryChannelRequest is the request type for the Query/Channel RPC method
* @name QueryChannelRequest
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryChannelRequest
*/
export declare const QueryChannelRequest: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryChannelRequest;
isAmino(o: any): o is QueryChannelRequestAmino;
encode(message: QueryChannelRequest, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryChannelRequest;
fromPartial(object: DeepPartial<QueryChannelRequest>): QueryChannelRequest;
fromAmino(object: QueryChannelRequestAmino): QueryChannelRequest;
toAmino(message: QueryChannelRequest): QueryChannelRequestAmino;
fromAminoMsg(object: QueryChannelRequestAminoMsg): QueryChannelRequest;
toAminoMsg(message: QueryChannelRequest): QueryChannelRequestAminoMsg;
fromProtoMsg(message: QueryChannelRequestProtoMsg): QueryChannelRequest;
toProto(message: QueryChannelRequest): Uint8Array;
toProtoMsg(message: QueryChannelRequest): QueryChannelRequestProtoMsg;
registerTypeUrl(): void;
};
/**
* QueryChannelResponse is the response type for the Query/Channel RPC method.
* Besides the Channel end, it includes a proof and the height from which the
* proof was retrieved.
* @name QueryChannelResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryChannelResponse
*/
export declare const QueryChannelResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryChannelResponse;
isAmino(o: any): o is QueryChannelResponseAmino;
encode(message: QueryChannelResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryChannelResponse;
fromPartial(object: DeepPartial<QueryChannelResponse>): QueryChannelResponse;
fromAmino(object: QueryChannelResponseAmino): QueryChannelResponse;
toAmino(message: QueryChannelResponse): QueryChannelResponseAmino;
fromAminoMsg(object: QueryChannelResponseAminoMsg): QueryChannelResponse;
toAminoMsg(message: QueryChannelResponse): QueryChannelResponseAminoMsg;
fromProtoMsg(message: QueryChannelResponseProtoMsg): QueryChannelResponse;
toProto(message: QueryChannelResponse): Uint8Array;
toProtoMsg(message: QueryChannelResponse): QueryChannelResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* QueryChannelsRequest is the request type for the Query/Channels RPC method
* @name QueryChannelsRequest
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryChannelsRequest
*/
export declare const QueryChannelsRequest: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryChannelsRequest;
isAmino(o: any): o is QueryChannelsRequestAmino;
encode(message: QueryChannelsRequest, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryChannelsRequest;
fromPartial(object: DeepPartial<QueryChannelsRequest>): QueryChannelsRequest;
fromAmino(object: QueryChannelsRequestAmino): QueryChannelsRequest;
toAmino(message: QueryChannelsRequest): QueryChannelsRequestAmino;
fromAminoMsg(object: QueryChannelsRequestAminoMsg): QueryChannelsRequest;
toAminoMsg(message: QueryChannelsRequest): QueryChannelsRequestAminoMsg;
fromProtoMsg(message: QueryChannelsRequestProtoMsg): QueryChannelsRequest;
toProto(message: QueryChannelsRequest): Uint8Array;
toProtoMsg(message: QueryChannelsRequest): QueryChannelsRequestProtoMsg;
registerTypeUrl(): void;
};
/**
* QueryChannelsResponse is the response type for the Query/Channels RPC method.
* @name QueryChannelsResponse
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryChannelsResponse
*/
export declare const QueryChannelsResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryChannelsResponse;
isAmino(o: any): o is QueryChannelsResponseAmino;
encode(message: QueryChannelsResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryChannelsResponse;
fromPartial(object: DeepPartial<QueryChannelsResponse>): QueryChannelsResponse;
fromAmino(object: QueryChannelsResponseAmino): QueryChannelsResponse;
toAmino(message: QueryChannelsResponse): QueryChannelsResponseAmino;
fromAminoMsg(object: QueryChannelsResponseAminoMsg): QueryChannelsResponse;
toAminoMsg(message: QueryChannelsResponse): QueryChannelsResponseAminoMsg;
fromProtoMsg(message: QueryChannelsResponseProtoMsg): QueryChannelsResponse;
toProto(message: QueryChannelsResponse): Uint8Array;
toProtoMsg(message: QueryChannelsResponse): QueryChannelsResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* QueryConnectionChannelsRequest is the request type for the
* Query/QueryConnectionChannels RPC method
* @name QueryConnectionChannelsRequest
* @package ibc.core.channel.v1
* @see proto type: ibc.core.channel.v1.QueryConnectionChannelsRequest
*/
export declare