Verifiable credential proof

interface VerifiableCredentialProof {
    claim: string;
    credentialHash: string;
    proof: {
        externalNullifier: string;
        merkleTreeRoot: string;
        nullifierHash: string;
        proof: string[];
        signal: string;
    };
    timestamp: number;
    type: CredentialType;
}

Properties

claim: string

Public claim statement

credentialHash: string

Credential hash (for verification)

proof: {
    externalNullifier: string;
    merkleTreeRoot: string;
    nullifierHash: string;
    proof: string[];
    signal: string;
}

ZK proof data

timestamp: number

Timestamp when proof was generated

Type of credential being proved