v1

latestSwagger 2.02026-07-17127100479.5 KB
ibc

Get ibc channel info

Returns information about an IBC channel by its channel ID, including ordering, state, connection, and counterparty port/channel.

get/ibc/channel/{id}

Path parameters

idstring required

IBC channel id

Response

OK

confirmation_heightinteger
confirmation_tx_hashstring binary
confirmed_atstring date-time
connection_idstring string
counterparty_channel_idstring string
counterparty_port_idstring string
created_atstring date-time
created_tx_hashstring binary
heightinteger
idstring string
orderingboolean
port_idstring string
statusstring string
versionstring string

Example response

{
  "client": {
    "chain_id": "osmosis-1",
    "id": "client-1",
    "type": "client"
  },
  "confirmation_height": 100,
  "confirmation_tx_hash": "652452A670018D629CC116E510BA88C1CABE061336661B1F3D206D248BD558AF",
  "confirmed_at": "2023-07-04T03:10:57+00:00",
  "connection_id": "connection-1",
  "counterparty_channel_id": "channel-1",
  "counterparty_port_id": "transfer",
  "created_at": "2023-07-04T03:10:57+00:00",
  "created_tx_hash": "652452A670018D629CC116E510BA88C1CABE061336661B1F3D206D248BD558AF",
  "creator": {
    "celestials": {
      "image_url": "https://ipfs.io/ipfs/QmUi269vE25fagqhyMCCTNSoiW6x4LHCwwQb3keSrEXAmC",
      "name": "name",
      "primary": true,
      "status": "VERIFIED"
    },
    "hash": "celestia1jc92qdnty48pafummfr8ava2tjtuhfdw774w60"
  },
  "height": 100,
  "id": "channel-1",
  "port_id": "transfer",
  "status": "opened",
  "version": "ics20-1"
}