Web3BasedCredential: {
    credentialSubject: {
        id: DIDString;
        statement: AtomicStatementV2<string>[];
    };
    issuer: DIDString;
    proof: ZKProofV4;
    type: ["VerifiableCredential", "ConcordiumVerifiableCredentialV1", "ConcordiumWeb3BasedCredential"];
}

A verifiable credential based on Web3 ID smart contract information. This credential type contains zero-knowledge proofs about smart contract issued credentials and their attributes.

Type declaration

  • credentialSubject: {
        id: DIDString;
        statement: AtomicStatementV2<string>[];
    }

    The credential subject containing Web3 ID statements

    • id: DIDString

      The account credential identifier as a DID

    • statement: AtomicStatementV2<string>[]

      Statements about Web3 ID attributes (should match request)

  • issuer: DIDString

    The issuer of the ID credential used to open the account credential

  • proof: ZKProofV4

    The zero-knowledge proof for attestation

  • type: ["VerifiableCredential", "ConcordiumVerifiableCredentialV1", "ConcordiumWeb3BasedCredential"]

    Type identifiers for this credential format

Generated using TypeDoc