IIdentityWallet.addCredentialsToMerkleTree() method
Adds verifiable credentials to issuer Claims Merkle tree
Signature:
addCredentialsToMerkleTree(credentials: W3CCredential[], issuerDID: DID): Promise<Iden3ProofCreationResult>;
Parameters
Parameter | Type | Description |
---|---|---|
credentials | W3CCredential[] | credentials to include in the claims tree |
issuerDID | DID | issuer did |
Returns:
Promise<Iden3ProofCreationResult>
Promise<Iden3ProofCreationResult>
- old tree state and tree state with included credentials