Skip to main content

IdentityWallet.addCredentialsToMerkleTree() method

Adds verifiable credentials to issuer Claims Merkle tree

Signature:

addCredentialsToMerkleTree(credentials: W3CCredential[], issuerDID: DID): Promise<Iden3ProofCreationResult>;

Parameters

ParameterTypeDescription
credentialsW3CCredential[]credentials to include in the claims tree
issuerDIDDIDissuer did

Returns:

Promise<Iden3ProofCreationResult>

Promise<Iden3ProofCreationResult>- old tree state and tree state with included credentials