Title

ibc/core/channel/v1/channel.proto

Version

version not set

Type Parameters

  • SecurityDataType extends unknown

Hierarchy

Constructors

Properties

instance: AxiosInstance

Methods

  • No description

    Tags

    Query

    Name

    QueryChannelConsensusState

    Summary

    ChannelConsensusState queries for the consensus state for the channel associated with the provided channel identifiers.

    Request

    GET:/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/consensus_state/revision/{revision_number}/height/{revision_height}

    Parameters

    • channelId: string
    • portId: string
    • revisionNumber: string
    • revisionHeight: string
    • params: RequestParams = {}

    Returns Promise<AxiosResponse<V1QueryChannelConsensusStateResponse>>

  • No description

    Tags

    Query

    Name

    QueryChannels

    Summary

    Channels queries all the IBC channels of a chain.

    Request

    GET:/ibc/core/channel/v1/channels

    Parameters

    • Optional query: {
          pagination.count_total?: boolean;
          pagination.key?: string;
          pagination.limit?: string;
          pagination.offset?: string;
          pagination.reverse?: boolean;
      }
      • Optional pagination.count_total?: boolean
      • Optional pagination.key?: string
      • Optional pagination.limit?: string
      • Optional pagination.offset?: string
      • Optional pagination.reverse?: boolean
    • params: RequestParams = {}

    Returns Promise<AxiosResponse<V1QueryChannelsResponse>>

  • No description

    Tags

    Query

    Name

    QueryConnectionChannels

    Summary

    ConnectionChannels queries all the channels associated with a connection end.

    Request

    GET:/ibc/core/channel/v1/connections/{connection}/channels

    Parameters

    • connection: string
    • Optional query: {
          pagination.count_total?: boolean;
          pagination.key?: string;
          pagination.limit?: string;
          pagination.offset?: string;
          pagination.reverse?: boolean;
      }
      • Optional pagination.count_total?: boolean
      • Optional pagination.key?: string
      • Optional pagination.limit?: string
      • Optional pagination.offset?: string
      • Optional pagination.reverse?: boolean
    • params: RequestParams = {}

    Returns Promise<AxiosResponse<V1QueryConnectionChannelsResponse>>

  • No description

    Tags

    Query

    Name

    QueryPacketAcknowledgements

    Summary

    PacketAcknowledgements returns all the packet acknowledgements associated with a channel.

    Request

    GET:/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acknowledgements

    Parameters

    • channelId: string
    • portId: string
    • Optional query: {
          packet_commitment_sequences?: string[];
          pagination.count_total?: boolean;
          pagination.key?: string;
          pagination.limit?: string;
          pagination.offset?: string;
          pagination.reverse?: boolean;
      }
      • Optional packet_commitment_sequences?: string[]
      • Optional pagination.count_total?: boolean
      • Optional pagination.key?: string
      • Optional pagination.limit?: string
      • Optional pagination.offset?: string
      • Optional pagination.reverse?: boolean
    • params: RequestParams = {}

    Returns Promise<AxiosResponse<V1QueryPacketAcknowledgementsResponse>>

  • No description

    Tags

    Query

    Name

    QueryPacketCommitments

    Summary

    PacketCommitments returns all the packet commitments hashes associated with a channel.

    Request

    GET:/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments

    Parameters

    • channelId: string
    • portId: string
    • Optional query: {
          pagination.count_total?: boolean;
          pagination.key?: string;
          pagination.limit?: string;
          pagination.offset?: string;
          pagination.reverse?: boolean;
      }
      • Optional pagination.count_total?: boolean
      • Optional pagination.key?: string
      • Optional pagination.limit?: string
      • Optional pagination.offset?: string
      • Optional pagination.reverse?: boolean
    • params: RequestParams = {}

    Returns Promise<AxiosResponse<V1QueryPacketCommitmentsResponse>>

  • No description

    Tags

    Query

    Name

    QueryPacketReceipt

    Summary

    PacketReceipt queries if a given packet sequence has been received on the queried chain

    Request

    GET:/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_receipts/{sequence}

    Parameters

    • channelId: string
    • portId: string
    • sequence: string
    • params: RequestParams = {}

    Returns Promise<AxiosResponse<V1QueryPacketReceiptResponse>>

  • No description

    Tags

    Query

    Name

    QueryUnreceivedAcks

    Summary

    UnreceivedAcks returns all the unreceived IBC acknowledgements associated with a channel and sequences.

    Request

    GET:/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_ack_sequences}/unreceived_acks

    Parameters

    • channelId: string
    • portId: string
    • packetAckSequences: string[]
    • params: RequestParams = {}

    Returns Promise<AxiosResponse<V1QueryUnreceivedAcksResponse>>

  • No description

    Tags

    Query

    Name

    QueryUnreceivedPackets

    Summary

    UnreceivedPackets returns all the unreceived IBC packets associated with a channel and sequences.

    Request

    GET:/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_commitment_sequences}/unreceived_packets

    Parameters

    • channelId: string
    • portId: string
    • packetCommitmentSequences: string[]
    • params: RequestParams = {}

    Returns Promise<AxiosResponse<V1QueryUnreceivedPacketsResponse>>

Generated using TypeDoc