QueryConnectionResponse is the response type for the Query/Connection RPC method. Besides the connection end, it includes a proof and the height from which the proof was retrieved.

Hierarchy

  • V1QueryConnectionResponse

Properties

connection?: V1ConnectionEnd

connection associated with the request identifier ConnectionEnd defines a stateful object on a chain connected to another separate one. NOTE: there must only be 2 defined ConnectionEnds to establish a connection between two chains.

proof?: string

merkle proof of existence

Format

byte

proof_height?: V1Height

height at which the proof was retrieved Normally the RevisionHeight is incremented at each height while keeping RevisionNumber the same. However some consensus algorithms may choose to reset the height in certain conditions e.g. hard forks, state-machine breaking changes In these cases, the RevisionNumber is incremented so that height continues to be monitonically increasing even as the RevisionHeight gets reset

Generated using TypeDoc