Are you an LLM? You can read better optimized documentation at /documentation/api/core/functions/contractHash.md for this page in Markdown format
ws-asyncapi API / core / contractHash
Function: contractHash()
contractHash(
channel):string
Defined in: .api-entries/core/index.d.ts:573
Deterministic hash of a channel's wire contract (commands, events, RPCs, server→client RPCs, and the connection query/headers schemas). Stable across runs and processes for the same contract; changes whenever any message name or schema changes. Memoized per channel.
Parameters
channel
unknown
Returns
string