Skip to main content

IdentityWallet.generateCredentialMtp() method

Signature:

generateCredentialMtp(did: DID, credential: W3CCredential, treeState?: TreeState): Promise<MerkleTreeProofWithTreeState>;

Parameters

ParameterTypeDescription
didDID
credentialW3CCredential
treeStateTreeState(Optional)

Returns:

Promise<MerkleTreeProofWithTreeState>