Interface Constitution

Represents the Cardano Constitution, which consists of an anchor pointing to the off-chain document and an optional hash of a guardrails script.

interface Constitution {
    anchor: Anchor;
    scriptHash?: string;
}

Properties

Properties

anchor: Anchor

An object containing the URL and data hash of the off-chain constitution document.

scriptHash?: string

An optional hex-encoded hash of a script that applies guardrails to this constitution.