Skip to content

CoSignFrame

CoSignFrame = object & { auth_tag: Hex; ceremony_id: string; freshness_nonce: Hex; freshness_ts: number; intent: WireIntent; kind: "request"; session_id: string; ssid: string; } | { kind: "round"; payload: Hex; } | { kind: "result"; r: Hex; s: Hex; v: number; } | { detail: string; kind: "rejection"; reason: string; } | { kind: "error"; message: string; }

Defined in: src/signer/mpc-2p-wire.ts:89

A versioned control frame: the only cross-language content of the wire. The DKLs round bytes ride opaque inside payload; everything else is the small, pinned envelope. Internally tagged by kind (matches the Rust serde).

Type Declaration

wire_version

readonly wire_version: typeof WIRE_VERSION