Core

Channels queries all the IBC channels of a chain.

get
Authorizations
Query parameters
pagination.keystring · byteOptional

key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.

pagination.offsetstring · uint64Optional

offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.

pagination.limitstring · uint64Optional

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

pagination.count_totalbooleanOptional

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

pagination.reversebooleanOptional

reverse is set to true if results are to be returned in the descending order.

Since: cosmos-sdk 0.43

Responses
200
A successful response.
application/json
get
GET /ibc/core/channel/v1/channels HTTP/1.1
Host: inj.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "channels": [
    {
      "state": "STATE_UNINITIALIZED_UNSPECIFIED",
      "ordering": "ORDER_NONE_UNSPECIFIED",
      "counterparty": {
        "port_id": "text",
        "channel_id": "text"
      },
      "connection_hops": [
        "text"
      ],
      "version": "text",
      "port_id": "text",
      "channel_id": "text"
    }
  ],
  "pagination": {
    "next_key": "Ynl0ZXM=",
    "total": "text"
  },
  "height": {
    "revision_number": "text",
    "revision_height": "text"
  }
}

Channel queries an IBC Channel.

get
Authorizations
Path parameters
channel_idstringRequired

channel unique identifier

port_idstringRequired

port unique identifier

Responses
200
A successful response.
application/json
get
GET /ibc/core/channel/v1/channels/{channel_id}/ports/{port_id} HTTP/1.1
Host: inj.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "channel": {
    "state": "STATE_UNINITIALIZED_UNSPECIFIED",
    "ordering": "ORDER_NONE_UNSPECIFIED",
    "counterparty": {
      "port_id": "text",
      "channel_id": "text"
    },
    "connection_hops": [
      "text"
    ],
    "version": "text"
  },
  "proof": "Ynl0ZXM=",
  "proof_height": {
    "revision_number": "text",
    "revision_height": "text"
  }
}

ChannelClientState queries for the client state for the channel associated with the provided channel identifiers.

get
Authorizations
Path parameters
channel_idstringRequired

channel unique identifier

port_idstringRequired

port unique identifier

Responses
200
A successful response.
application/json
get
GET /ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/client_state HTTP/1.1
Host: inj.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "identified_client_state": {
    "client_id": "text",
    "client_state": {
      "type_url": "text",
      "value": "Ynl0ZXM="
    }
  },
  "proof": "Ynl0ZXM=",
  "proof_height": {
    "revision_number": "text",
    "revision_height": "text"
  }
}

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

get
Authorizations
Path parameters
channel_idstringRequired

channel unique identifier

port_idstringRequired

port unique identifier

revision_numberstring · uint64Required

revision number of the consensus state

revision_heightstring · uint64Required

revision height of the consensus state

Responses
200
A successful response.
application/json
get
GET /ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/consensus_state/revision/{revision_number}/height/{revision_height} HTTP/1.1
Host: inj.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "consensus_state": {
    "type_url": "text",
    "value": "Ynl0ZXM="
  },
  "client_id": "text",
  "proof": "Ynl0ZXM=",
  "proof_height": {
    "revision_number": "text",
    "revision_height": "text"
  }
}

NextSequenceReceive returns the next receive sequence for a given channel.

get
Authorizations
Path parameters
channel_idstringRequired

channel unique identifier

port_idstringRequired

port unique identifier

Responses
200
A successful response.
application/json
get
GET /ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence HTTP/1.1
Host: inj.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "next_sequence_receive": "text",
  "proof": "Ynl0ZXM=",
  "proof_height": {
    "revision_number": "text",
    "revision_height": "text"
  }
}

NextSequenceSend returns the next send sequence for a given channel.

get
Authorizations
Path parameters
channel_idstringRequired

channel unique identifier

port_idstringRequired

port unique identifier

Responses
200
A successful response.
application/json
get
GET /ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence_send HTTP/1.1
Host: inj.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "next_sequence_send": "text",
  "proof": "Ynl0ZXM=",
  "proof_height": {
    "revision_number": "text",
    "revision_height": "text"
  }
}

PacketAcknowledgements returns all the packet acknowledgements associated with a channel.

get
Authorizations
Path parameters
channel_idstringRequired

channel unique identifier

port_idstringRequired

port unique identifier

Query parameters
pagination.keystring · byteOptional

key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.

pagination.offsetstring · uint64Optional

offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.

pagination.limitstring · uint64Optional

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

pagination.count_totalbooleanOptional

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

pagination.reversebooleanOptional

reverse is set to true if results are to be returned in the descending order.

Since: cosmos-sdk 0.43

packet_commitment_sequencesstring · uint64[]Optional

list of packet sequences.

Responses
200
A successful response.
application/json
get
GET /ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acknowledgements HTTP/1.1
Host: inj.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "acknowledgements": [
    {
      "port_id": "text",
      "channel_id": "text",
      "sequence": "text",
      "data": "Ynl0ZXM="
    }
  ],
  "pagination": {
    "next_key": "Ynl0ZXM=",
    "total": "text"
  },
  "height": {
    "revision_number": "text",
    "revision_height": "text"
  }
}

PacketAcknowledgement queries a stored packet acknowledgement hash.

get
Authorizations
Path parameters
channel_idstringRequired

channel unique identifier

port_idstringRequired

port unique identifier

sequencestring · uint64Required

packet sequence

Responses
200
A successful response.
application/json
get
GET /ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acks/{sequence} HTTP/1.1
Host: inj.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "acknowledgement": "Ynl0ZXM=",
  "proof": "Ynl0ZXM=",
  "proof_height": {
    "revision_number": "text",
    "revision_height": "text"
  }
}

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

get
Authorizations
Path parameters
channel_idstringRequired

channel unique identifier

port_idstringRequired

port unique identifier

Query parameters
pagination.keystring · byteOptional

key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.

pagination.offsetstring · uint64Optional

offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.

pagination.limitstring · uint64Optional

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

pagination.count_totalbooleanOptional

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

pagination.reversebooleanOptional

reverse is set to true if results are to be returned in the descending order.

Since: cosmos-sdk 0.43

Responses
200
A successful response.
application/json
get
GET /ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments HTTP/1.1
Host: inj.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "commitments": [
    {
      "port_id": "text",
      "channel_id": "text",
      "sequence": "text",
      "data": "Ynl0ZXM="
    }
  ],
  "pagination": {
    "next_key": "Ynl0ZXM=",
    "total": "text"
  },
  "height": {
    "revision_number": "text",
    "revision_height": "text"
  }
}

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

get
Authorizations
Path parameters
channel_idstringRequired

channel unique identifier

port_idstringRequired

port unique identifier

packet_ack_sequencesstring · uint64[] · min: 1Required

list of acknowledgement sequences

Responses
200
A successful response.
application/json
get
GET /ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_ack_sequences}/unreceived_acks HTTP/1.1
Host: inj.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "sequences": [
    "text"
  ],
  "height": {
    "revision_number": "text",
    "revision_height": "text"
  }
}

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

get
Authorizations
Path parameters
channel_idstringRequired

channel unique identifier

port_idstringRequired

port unique identifier

packet_commitment_sequencesstring · uint64[] · min: 1Required

list of packet sequences

Responses
200
A successful response.
application/json
get
GET /ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_commitment_sequences}/unreceived_packets HTTP/1.1
Host: inj.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "sequences": [
    "text"
  ],
  "height": {
    "revision_number": "text",
    "revision_height": "text"
  }
}

PacketCommitment queries a stored packet commitment hash.

get
Authorizations
Path parameters
channel_idstringRequired

channel unique identifier

port_idstringRequired

port unique identifier

sequencestring · uint64Required

packet sequence

Responses
200
A successful response.
application/json
get
GET /ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{sequence} HTTP/1.1
Host: inj.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "commitment": "Ynl0ZXM=",
  "proof": "Ynl0ZXM=",
  "proof_height": {
    "revision_number": "text",
    "revision_height": "text"
  }
}

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

get
Authorizations
Path parameters
channel_idstringRequired

channel unique identifier

port_idstringRequired

port unique identifier

sequencestring · uint64Required

packet sequence

Responses
200
A successful response.
application/json
get
GET /ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_receipts/{sequence} HTTP/1.1
Host: inj.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "received": true,
  "proof": "Ynl0ZXM=",
  "proof_height": {
    "revision_number": "text",
    "revision_height": "text"
  }
}

ConnectionChannels queries all the channels associated with a connection end.

get
Authorizations
Path parameters
connectionstringRequired

connection unique identifier

Query parameters
pagination.keystring · byteOptional

key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.

pagination.offsetstring · uint64Optional

offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.

pagination.limitstring · uint64Optional

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

pagination.count_totalbooleanOptional

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

pagination.reversebooleanOptional

reverse is set to true if results are to be returned in the descending order.

Since: cosmos-sdk 0.43

Responses
200
A successful response.
application/json
get
GET /ibc/core/channel/v1/connections/{connection}/channels HTTP/1.1
Host: inj.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "channels": [
    {
      "state": "STATE_UNINITIALIZED_UNSPECIFIED",
      "ordering": "ORDER_NONE_UNSPECIFIED",
      "counterparty": {
        "port_id": "text",
        "channel_id": "text"
      },
      "connection_hops": [
        "text"
      ],
      "version": "text",
      "port_id": "text",
      "channel_id": "text"
    }
  ],
  "pagination": {
    "next_key": "Ynl0ZXM=",
    "total": "text"
  },
  "height": {
    "revision_number": "text",
    "revision_height": "text"
  }
}

ClientStates queries all the IBC light clients of a chain.

get
Authorizations
Query parameters
pagination.keystring · byteOptional

key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.

pagination.offsetstring · uint64Optional

offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.

pagination.limitstring · uint64Optional

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

pagination.count_totalbooleanOptional

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

pagination.reversebooleanOptional

reverse is set to true if results are to be returned in the descending order.

Since: cosmos-sdk 0.43

Responses
200
A successful response.
application/json
get
GET /ibc/core/client/v1/client_states HTTP/1.1
Host: inj.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "client_states": [
    {
      "client_id": "text",
      "client_state": {
        "type_url": "text",
        "value": "Ynl0ZXM="
      }
    }
  ],
  "pagination": {
    "next_key": "Ynl0ZXM=",
    "total": "text"
  }
}

ClientState queries an IBC light client.

get
Authorizations
Path parameters
client_idstringRequired

client state unique identifier

Responses
200
A successful response.
application/json
get
GET /ibc/core/client/v1/client_states/{client_id} HTTP/1.1
Host: inj.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "client_state": {
    "type_url": "text",
    "value": "Ynl0ZXM="
  },
  "proof": "Ynl0ZXM=",
  "proof_height": {
    "revision_number": "text",
    "revision_height": "text"
  }
}

Status queries the status of an IBC client.

get
Authorizations
Path parameters
client_idstringRequired

client unique identifier

Responses
200
A successful response.
application/json
get
GET /ibc/core/client/v1/client_status/{client_id} HTTP/1.1
Host: inj.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "status": "text"
}

ConsensusStates queries all the consensus state associated with a given client.

get
Authorizations
Path parameters
client_idstringRequired

client identifier

Query parameters
pagination.keystring · byteOptional

key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.

pagination.offsetstring · uint64Optional

offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.

pagination.limitstring · uint64Optional

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

pagination.count_totalbooleanOptional

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

pagination.reversebooleanOptional

reverse is set to true if results are to be returned in the descending order.

Since: cosmos-sdk 0.43

Responses
200
A successful response.
application/json
get
GET /ibc/core/client/v1/consensus_states/{client_id} HTTP/1.1
Host: inj.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "consensus_states": [
    {
      "height": {
        "revision_number": "text",
        "revision_height": "text"
      },
      "consensus_state": {
        "type_url": "text",
        "value": "Ynl0ZXM="
      }
    }
  ],
  "pagination": {
    "next_key": "Ynl0ZXM=",
    "total": "text"
  }
}

ConsensusStateHeights queries the height of every consensus states associated with a given client.

get
Authorizations
Path parameters
client_idstringRequired

client identifier

Query parameters
pagination.keystring · byteOptional

key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.

pagination.offsetstring · uint64Optional

offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.

pagination.limitstring · uint64Optional

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

pagination.count_totalbooleanOptional

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

pagination.reversebooleanOptional

reverse is set to true if results are to be returned in the descending order.

Since: cosmos-sdk 0.43

Responses
200
A successful response.
application/json
get
GET /ibc/core/client/v1/consensus_states/{client_id}/heights HTTP/1.1
Host: inj.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "consensus_state_heights": [
    {
      "revision_number": "text",
      "revision_height": "text"
    }
  ],
  "pagination": {
    "next_key": "Ynl0ZXM=",
    "total": "text"
  }
}

ConsensusState queries a consensus state associated with a client state at a given height.

get
Authorizations
Path parameters
client_idstringRequired

client identifier

revision_numberstring · uint64Required

consensus state revision number

revision_heightstring · uint64Required

consensus state revision height

Query parameters
latest_heightbooleanOptional

latest_height overrrides the height field and queries the latest stored ConsensusState.

Responses
200
A successful response.
application/json
get
GET /ibc/core/client/v1/consensus_states/{client_id}/revision/{revision_number}/height/{revision_height} HTTP/1.1
Host: inj.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "consensus_state": {
    "type_url": "text",
    "value": "Ynl0ZXM="
  },
  "proof": "Ynl0ZXM=",
  "proof_height": {
    "revision_number": "text",
    "revision_height": "text"
  }
}

ClientParams queries all parameters of the ibc client submodule.

get
Authorizations
Responses
200
A successful response.
application/json
get
GET /ibc/core/client/v1/params HTTP/1.1
Host: inj.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "params": {
    "allowed_clients": [
      "text"
    ]
  }
}

UpgradedClientState queries an Upgraded IBC light client.

get
Authorizations
Responses
200
A successful response.
application/json
get
GET /ibc/core/client/v1/upgraded_client_states HTTP/1.1
Host: inj.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "upgraded_client_state": {
    "type_url": "text",
    "value": "Ynl0ZXM="
  }
}

UpgradedConsensusState queries an Upgraded IBC consensus state.

get
Authorizations
Responses
200
A successful response.
application/json
get
GET /ibc/core/client/v1/upgraded_consensus_states HTTP/1.1
Host: inj.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "upgraded_consensus_state": {
    "type_url": "text",
    "value": "Ynl0ZXM="
  }
}

ClientConnections queries the connection paths associated with a client state.

get
Authorizations
Path parameters
client_idstringRequired

client identifier associated with a connection

Responses
200
A successful response.
application/json
get
GET /ibc/core/connection/v1/client_connections/{client_id} HTTP/1.1
Host: inj.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "connection_paths": [
    "text"
  ],
  "proof": "Ynl0ZXM=",
  "proof_height": {
    "revision_number": "text",
    "revision_height": "text"
  }
}

Connections queries all the IBC connections of a chain.

get
Authorizations
Query parameters
pagination.keystring · byteOptional

key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.

pagination.offsetstring · uint64Optional

offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.

pagination.limitstring · uint64Optional

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

pagination.count_totalbooleanOptional

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

pagination.reversebooleanOptional

reverse is set to true if results are to be returned in the descending order.

Since: cosmos-sdk 0.43

Responses
200
A successful response.
application/json
get
GET /ibc/core/connection/v1/connections HTTP/1.1
Host: inj.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "connections": [
    {
      "id": "text",
      "client_id": "text",
      "versions": [
        {
          "identifier": "text",
          "features": [
            "text"
          ]
        }
      ],
      "state": "STATE_UNINITIALIZED_UNSPECIFIED",
      "counterparty": {
        "client_id": "text",
        "connection_id": "text",
        "prefix": {
          "key_prefix": "Ynl0ZXM="
        }
      },
      "delay_period": "text"
    }
  ],
  "pagination": {
    "next_key": "Ynl0ZXM=",
    "total": "text"
  },
  "height": {
    "revision_number": "text",
    "revision_height": "text"
  }
}

Connection queries an IBC connection end.

get
Authorizations
Path parameters
connection_idstringRequired

connection unique identifier

Responses
200
A successful response.
application/json
get
GET /ibc/core/connection/v1/connections/{connection_id} HTTP/1.1
Host: inj.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "connection": {
    "client_id": "text",
    "versions": [
      {
        "identifier": "text",
        "features": [
          "text"
        ]
      }
    ],
    "state": "STATE_UNINITIALIZED_UNSPECIFIED",
    "counterparty": {
      "client_id": "text",
      "connection_id": "text",
      "prefix": {
        "key_prefix": "Ynl0ZXM="
      }
    },
    "delay_period": "text"
  },
  "proof": "Ynl0ZXM=",
  "proof_height": {
    "revision_number": "text",
    "revision_height": "text"
  }
}

ConnectionClientState queries the client state associated with the connection.

get
Authorizations
Path parameters
connection_idstringRequired

connection identifier

Responses
200
A successful response.
application/json
get
GET /ibc/core/connection/v1/connections/{connection_id}/client_state HTTP/1.1
Host: inj.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "identified_client_state": {
    "client_id": "text",
    "client_state": {
      "type_url": "text",
      "value": "Ynl0ZXM="
    }
  },
  "proof": "Ynl0ZXM=",
  "proof_height": {
    "revision_number": "text",
    "revision_height": "text"
  }
}

ConnectionConsensusState queries the consensus state associated with the connection.

get
Authorizations
Path parameters
connection_idstringRequired

connection identifier

revision_numberstring · uint64Required
revision_heightstring · uint64Required
Responses
200
A successful response.
application/json
get
GET /ibc/core/connection/v1/connections/{connection_id}/consensus_state/revision/{revision_number}/height/{revision_height} HTTP/1.1
Host: inj.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "consensus_state": {
    "type_url": "text",
    "value": "Ynl0ZXM="
  },
  "client_id": "text",
  "proof": "Ynl0ZXM=",
  "proof_height": {
    "revision_number": "text",
    "revision_height": "text"
  }
}

ConnectionParams queries all parameters of the ibc connection submodule.

get
Authorizations
Responses
200
A successful response.
application/json
get
GET /ibc/core/connection/v1/params HTTP/1.1
Host: inj.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "params": {
    "max_expected_time_per_block": "text"
  }
}