Readonly ibc
ibc: {
channel: {
allChannels: (() => Promise<QueryChannelsResponse>);
allConnectionChannels: ((connection: string) => Promise<QueryConnectionChannelsResponse>);
allPacketAcknowledgements: ((portId: string, channelId: string) => Promise<QueryPacketAcknowledgementsResponse>);
allPacketCommitments: ((portId: string, channelId: string) => Promise<QueryPacketCommitmentsResponse>);
channel: ((portId: string, channelId: string) => Promise<QueryChannelResponse>);
channels: ((paginationKey?: Uint8Array) => Promise<QueryChannelsResponse>);
clientState: ((portId: string, channelId: string) => Promise<QueryChannelClientStateResponse>);
connectionChannels: ((connection: string, paginationKey?: Uint8Array) => Promise<QueryConnectionChannelsResponse>);
consensusState: ((portId: string, channelId: string, revisionNumber: number, revisionHeight: number) => Promise<QueryChannelConsensusStateResponse>);
nextSequenceReceive: ((portId: string, channelId: string) => Promise<QueryNextSequenceReceiveResponse>);
packetAcknowledgement: ((portId: string, channelId: string, sequence: number) => Promise<QueryPacketAcknowledgementResponse>);
packetAcknowledgements: ((portId: string, channelId: string, paginationKey?: Uint8Array) => Promise<QueryPacketAcknowledgementsResponse>);
packetCommitment: ((portId: string, channelId: string, sequence: number) => Promise<QueryPacketCommitmentResponse>);
packetCommitments: ((portId: string, channelId: string, paginationKey?: Uint8Array) => Promise<QueryPacketCommitmentsResponse>);
packetReceipt: ((portId: string, channelId: string, sequence: number) => Promise<QueryPacketReceiptResponse>);
unreceivedAcks: ((portId: string, channelId: string, packetAckSequences: readonly number[]) => Promise<QueryUnreceivedAcksResponse>);
unreceivedPackets: ((portId: string, channelId: string, packetCommitmentSequences: readonly number[]) => Promise<QueryUnreceivedPacketsResponse>);
};
client: {
allConsensusStates: ((clientId: string) => Promise<QueryConsensusStatesResponse>);
allStates: (() => Promise<QueryClientStatesResponse>);
allStatesTm: (() => Promise<ClientState[]>);
consensusState: ((clientId: string, height?: number) => Promise<QueryConsensusStateResponse>);
consensusStateTm: ((clientId: string, height?: Height) => Promise<ConsensusState>);
consensusStates: ((clientId: string, paginationKey?: Uint8Array) => Promise<QueryConsensusStatesResponse>);
params: (() => Promise<QueryClientParamsResponse>);
state: ((clientId: string) => Promise<QueryClientStateResponse>);
stateTm: ((clientId: string) => Promise<ClientState>);
states: ((paginationKey?: Uint8Array) => Promise<QueryClientStatesResponse>);
statesTm: ((paginationKey?: Uint8Array) => Promise<ClientState[]>);
};
connection: {
allConnections: (() => Promise<QueryConnectionsResponse>);
clientConnections: ((clientId: string) => Promise<QueryClientConnectionsResponse>);
clientState: ((connectionId: string) => Promise<QueryConnectionClientStateResponse>);
connection: ((connectionId: string) => Promise<QueryConnectionResponse>);
connections: ((paginationKey?: Uint8Array) => Promise<QueryConnectionsResponse>);
consensusState: ((connectionId: string, revisionNumber: number, revisionHeight: number) => Promise<QueryConnectionConsensusStateResponse>);
};
transfer: {
allDenomTraces: (() => Promise<QueryDenomTracesResponse>);
denomTrace: ((hash: string) => Promise<QueryDenomTraceResponse>);
denomTraces: ((paginationKey?: Uint8Array) => Promise<QueryDenomTracesResponse>);
params: (() => Promise<QueryParamsResponse>);
};
}
Type declaration
-
Readonly channel: {
allChannels: (() => Promise<QueryChannelsResponse>);
allConnectionChannels: ((connection: string) => Promise<QueryConnectionChannelsResponse>);
allPacketAcknowledgements: ((portId: string, channelId: string) => Promise<QueryPacketAcknowledgementsResponse>);
allPacketCommitments: ((portId: string, channelId: string) => Promise<QueryPacketCommitmentsResponse>);
channel: ((portId: string, channelId: string) => Promise<QueryChannelResponse>);
channels: ((paginationKey?: Uint8Array) => Promise<QueryChannelsResponse>);
clientState: ((portId: string, channelId: string) => Promise<QueryChannelClientStateResponse>);
connectionChannels: ((connection: string, paginationKey?: Uint8Array) => Promise<QueryConnectionChannelsResponse>);
consensusState: ((portId: string, channelId: string, revisionNumber: number, revisionHeight: number) => Promise<QueryChannelConsensusStateResponse>);
nextSequenceReceive: ((portId: string, channelId: string) => Promise<QueryNextSequenceReceiveResponse>);
packetAcknowledgement: ((portId: string, channelId: string, sequence: number) => Promise<QueryPacketAcknowledgementResponse>);
packetAcknowledgements: ((portId: string, channelId: string, paginationKey?: Uint8Array) => Promise<QueryPacketAcknowledgementsResponse>);
packetCommitment: ((portId: string, channelId: string, sequence: number) => Promise<QueryPacketCommitmentResponse>);
packetCommitments: ((portId: string, channelId: string, paginationKey?: Uint8Array) => Promise<QueryPacketCommitmentsResponse>);
packetReceipt: ((portId: string, channelId: string, sequence: number) => Promise<QueryPacketReceiptResponse>);
unreceivedAcks: ((portId: string, channelId: string, packetAckSequences: readonly number[]) => Promise<QueryUnreceivedAcksResponse>);
unreceivedPackets: ((portId: string, channelId: string, packetCommitmentSequences: readonly number[]) => Promise<QueryUnreceivedPacketsResponse>);
}
-
Readonly allChannels: (() => Promise<QueryChannelsResponse>)
-
- (): Promise<QueryChannelsResponse>
-
Returns Promise<QueryChannelsResponse>
-
Readonly allConnectionChannels: ((connection: string) => Promise<QueryConnectionChannelsResponse>)
-
- (connection: string): Promise<QueryConnectionChannelsResponse>
-
Returns Promise<QueryConnectionChannelsResponse>
-
Readonly allPacketAcknowledgements: ((portId: string, channelId: string) => Promise<QueryPacketAcknowledgementsResponse>)
-
- (portId: string, channelId: string): Promise<QueryPacketAcknowledgementsResponse>
-
Parameters
-
portId: string
-
channelId: string
Returns Promise<QueryPacketAcknowledgementsResponse>
-
Readonly allPacketCommitments: ((portId: string, channelId: string) => Promise<QueryPacketCommitmentsResponse>)
-
- (portId: string, channelId: string): Promise<QueryPacketCommitmentsResponse>
-
Parameters
-
portId: string
-
channelId: string
Returns Promise<QueryPacketCommitmentsResponse>
-
Readonly channel: ((portId: string, channelId: string) => Promise<QueryChannelResponse>)
-
- (portId: string, channelId: string): Promise<QueryChannelResponse>
-
Parameters
-
portId: string
-
channelId: string
Returns Promise<QueryChannelResponse>
-
Readonly channels: ((paginationKey?: Uint8Array) => Promise<QueryChannelsResponse>)
-
- (paginationKey?: Uint8Array): Promise<QueryChannelsResponse>
-
Parameters
-
Optional paginationKey: Uint8Array
Returns Promise<QueryChannelsResponse>
-
Readonly clientState: ((portId: string, channelId: string) => Promise<QueryChannelClientStateResponse>)
-
- (portId: string, channelId: string): Promise<QueryChannelClientStateResponse>
-
Parameters
-
portId: string
-
channelId: string
Returns Promise<QueryChannelClientStateResponse>
-
Readonly connectionChannels: ((connection: string, paginationKey?: Uint8Array) => Promise<QueryConnectionChannelsResponse>)
-
- (connection: string, paginationKey?: Uint8Array): Promise<QueryConnectionChannelsResponse>
-
Parameters
-
connection: string
-
Optional paginationKey: Uint8Array
Returns Promise<QueryConnectionChannelsResponse>
-
Readonly consensusState: ((portId: string, channelId: string, revisionNumber: number, revisionHeight: number) => Promise<QueryChannelConsensusStateResponse>)
-
- (portId: string, channelId: string, revisionNumber: number, revisionHeight: number): Promise<QueryChannelConsensusStateResponse>
-
Parameters
-
portId: string
-
channelId: string
-
revisionNumber: number
-
revisionHeight: number
Returns Promise<QueryChannelConsensusStateResponse>
-
Readonly nextSequenceReceive: ((portId: string, channelId: string) => Promise<QueryNextSequenceReceiveResponse>)
-
- (portId: string, channelId: string): Promise<QueryNextSequenceReceiveResponse>
-
Parameters
-
portId: string
-
channelId: string
Returns Promise<QueryNextSequenceReceiveResponse>
-
Readonly packetAcknowledgement: ((portId: string, channelId: string, sequence: number) => Promise<QueryPacketAcknowledgementResponse>)
-
- (portId: string, channelId: string, sequence: number): Promise<QueryPacketAcknowledgementResponse>
-
Parameters
-
portId: string
-
channelId: string
-
sequence: number
Returns Promise<QueryPacketAcknowledgementResponse>
-
Readonly packetAcknowledgements: ((portId: string, channelId: string, paginationKey?: Uint8Array) => Promise<QueryPacketAcknowledgementsResponse>)
-
- (portId: string, channelId: string, paginationKey?: Uint8Array): Promise<QueryPacketAcknowledgementsResponse>
-
Parameters
-
portId: string
-
channelId: string
-
Optional paginationKey: Uint8Array
Returns Promise<QueryPacketAcknowledgementsResponse>
-
Readonly packetCommitment: ((portId: string, channelId: string, sequence: number) => Promise<QueryPacketCommitmentResponse>)
-
- (portId: string, channelId: string, sequence: number): Promise<QueryPacketCommitmentResponse>
-
Parameters
-
portId: string
-
channelId: string
-
sequence: number
Returns Promise<QueryPacketCommitmentResponse>
-
Readonly packetCommitments: ((portId: string, channelId: string, paginationKey?: Uint8Array) => Promise<QueryPacketCommitmentsResponse>)
-
- (portId: string, channelId: string, paginationKey?: Uint8Array): Promise<QueryPacketCommitmentsResponse>
-
Parameters
-
portId: string
-
channelId: string
-
Optional paginationKey: Uint8Array
Returns Promise<QueryPacketCommitmentsResponse>
-
Readonly packetReceipt: ((portId: string, channelId: string, sequence: number) => Promise<QueryPacketReceiptResponse>)
-
- (portId: string, channelId: string, sequence: number): Promise<QueryPacketReceiptResponse>
-
Parameters
-
portId: string
-
channelId: string
-
sequence: number
Returns Promise<QueryPacketReceiptResponse>
-
Readonly unreceivedAcks: ((portId: string, channelId: string, packetAckSequences: readonly number[]) => Promise<QueryUnreceivedAcksResponse>)
-
- (portId: string, channelId: string, packetAckSequences: readonly number[]): Promise<QueryUnreceivedAcksResponse>
-
Parameters
-
portId: string
-
channelId: string
-
packetAckSequences: readonly number[]
Returns Promise<QueryUnreceivedAcksResponse>
-
Readonly unreceivedPackets: ((portId: string, channelId: string, packetCommitmentSequences: readonly number[]) => Promise<QueryUnreceivedPacketsResponse>)
-
- (portId: string, channelId: string, packetCommitmentSequences: readonly number[]): Promise<QueryUnreceivedPacketsResponse>
-
Parameters
-
portId: string
-
channelId: string
-
packetCommitmentSequences: readonly number[]
Returns Promise<QueryUnreceivedPacketsResponse>
-
Readonly client: {
allConsensusStates: ((clientId: string) => Promise<QueryConsensusStatesResponse>);
allStates: (() => Promise<QueryClientStatesResponse>);
allStatesTm: (() => Promise<ClientState[]>);
consensusState: ((clientId: string, height?: number) => Promise<QueryConsensusStateResponse>);
consensusStateTm: ((clientId: string, height?: Height) => Promise<ConsensusState>);
consensusStates: ((clientId: string, paginationKey?: Uint8Array) => Promise<QueryConsensusStatesResponse>);
params: (() => Promise<QueryClientParamsResponse>);
state: ((clientId: string) => Promise<QueryClientStateResponse>);
stateTm: ((clientId: string) => Promise<ClientState>);
states: ((paginationKey?: Uint8Array) => Promise<QueryClientStatesResponse>);
statesTm: ((paginationKey?: Uint8Array) => Promise<ClientState[]>);
}
-
Readonly allConsensusStates: ((clientId: string) => Promise<QueryConsensusStatesResponse>)
-
- (clientId: string): Promise<QueryConsensusStatesResponse>
-
Returns Promise<QueryConsensusStatesResponse>
-
Readonly allStates: (() => Promise<QueryClientStatesResponse>)
-
- (): Promise<QueryClientStatesResponse>
-
Returns Promise<QueryClientStatesResponse>
-
Readonly allStatesTm: (() => Promise<ClientState[]>)
-
- (): Promise<ClientState[]>
-
Returns Promise<ClientState[]>
-
Readonly consensusState: ((clientId: string, height?: number) => Promise<QueryConsensusStateResponse>)
-
- (clientId: string, height?: number): Promise<QueryConsensusStateResponse>
-
Parameters
-
clientId: string
-
Optional height: number
Returns Promise<QueryConsensusStateResponse>
-
Readonly consensusStateTm: ((clientId: string, height?: Height) => Promise<ConsensusState>)
-
- (clientId: string, height?: Height): Promise<ConsensusState>
-
Parameters
-
clientId: string
-
Optional height: Height
Returns Promise<ConsensusState>
-
Readonly consensusStates: ((clientId: string, paginationKey?: Uint8Array) => Promise<QueryConsensusStatesResponse>)
-
- (clientId: string, paginationKey?: Uint8Array): Promise<QueryConsensusStatesResponse>
-
Parameters
-
clientId: string
-
Optional paginationKey: Uint8Array
Returns Promise<QueryConsensusStatesResponse>
-
Readonly params: (() => Promise<QueryClientParamsResponse>)
-
- (): Promise<QueryClientParamsResponse>
-
Returns Promise<QueryClientParamsResponse>
-
Readonly state: ((clientId: string) => Promise<QueryClientStateResponse>)
-
- (clientId: string): Promise<QueryClientStateResponse>
-
Returns Promise<QueryClientStateResponse>
-
Readonly stateTm: ((clientId: string) => Promise<ClientState>)
-
- (clientId: string): Promise<ClientState>
-
Returns Promise<ClientState>
-
Readonly states: ((paginationKey?: Uint8Array) => Promise<QueryClientStatesResponse>)
-
- (paginationKey?: Uint8Array): Promise<QueryClientStatesResponse>
-
Parameters
-
Optional paginationKey: Uint8Array
Returns Promise<QueryClientStatesResponse>
-
Readonly statesTm: ((paginationKey?: Uint8Array) => Promise<ClientState[]>)
-
- (paginationKey?: Uint8Array): Promise<ClientState[]>
-
Parameters
-
Optional paginationKey: Uint8Array
Returns Promise<ClientState[]>
-
Readonly connection: {
allConnections: (() => Promise<QueryConnectionsResponse>);
clientConnections: ((clientId: string) => Promise<QueryClientConnectionsResponse>);
clientState: ((connectionId: string) => Promise<QueryConnectionClientStateResponse>);
connection: ((connectionId: string) => Promise<QueryConnectionResponse>);
connections: ((paginationKey?: Uint8Array) => Promise<QueryConnectionsResponse>);
consensusState: ((connectionId: string, revisionNumber: number, revisionHeight: number) => Promise<QueryConnectionConsensusStateResponse>);
}
-
Readonly allConnections: (() => Promise<QueryConnectionsResponse>)
-
- (): Promise<QueryConnectionsResponse>
-
Returns Promise<QueryConnectionsResponse>
-
Readonly clientConnections: ((clientId: string) => Promise<QueryClientConnectionsResponse>)
-
- (clientId: string): Promise<QueryClientConnectionsResponse>
-
Returns Promise<QueryClientConnectionsResponse>
-
Readonly clientState: ((connectionId: string) => Promise<QueryConnectionClientStateResponse>)
-
- (connectionId: string): Promise<QueryConnectionClientStateResponse>
-
Returns Promise<QueryConnectionClientStateResponse>
-
Readonly connection: ((connectionId: string) => Promise<QueryConnectionResponse>)
-
- (connectionId: string): Promise<QueryConnectionResponse>
-
Returns Promise<QueryConnectionResponse>
-
Readonly connections: ((paginationKey?: Uint8Array) => Promise<QueryConnectionsResponse>)
-
- (paginationKey?: Uint8Array): Promise<QueryConnectionsResponse>
-
Parameters
-
Optional paginationKey: Uint8Array
Returns Promise<QueryConnectionsResponse>
-
Readonly consensusState: ((connectionId: string, revisionNumber: number, revisionHeight: number) => Promise<QueryConnectionConsensusStateResponse>)
-
- (connectionId: string, revisionNumber: number, revisionHeight: number): Promise<QueryConnectionConsensusStateResponse>
-
Parameters
-
connectionId: string
-
revisionNumber: number
-
revisionHeight: number
Returns Promise<QueryConnectionConsensusStateResponse>
-
Readonly transfer: {
allDenomTraces: (() => Promise<QueryDenomTracesResponse>);
denomTrace: ((hash: string) => Promise<QueryDenomTraceResponse>);
denomTraces: ((paginationKey?: Uint8Array) => Promise<QueryDenomTracesResponse>);
params: (() => Promise<QueryParamsResponse>);
}
-
Readonly allDenomTraces: (() => Promise<QueryDenomTracesResponse>)
-
- (): Promise<QueryDenomTracesResponse>
-
Returns Promise<QueryDenomTracesResponse>
-
Readonly denomTrace: ((hash: string) => Promise<QueryDenomTraceResponse>)
-
- (hash: string): Promise<QueryDenomTraceResponse>
-
Returns Promise<QueryDenomTraceResponse>
-
Readonly denomTraces: ((paginationKey?: Uint8Array) => Promise<QueryDenomTracesResponse>)
-
- (paginationKey?: Uint8Array): Promise<QueryDenomTracesResponse>
-
Parameters
-
Optional paginationKey: Uint8Array
Returns Promise<QueryDenomTracesResponse>
-
Readonly params: (() => Promise<QueryParamsResponse>)
-
- (): Promise<QueryParamsResponse>
-
Returns Promise<QueryParamsResponse>