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