Skip to main content

IIdentityWallet.generateNonRevocationMtp() method

Generates proof of credential revocation nonce inclusion / non-inclusion to the given revocation tree and its root or to the current root of the Revocation tree in the given Merkle tree storage.

Signature:

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

Parameters

ParameterTypeDescription
didDID
credentialW3CCredential
treeStateTreeState(Optional)

Returns:

Promise<MerkleTreeProofWithTreeState>

Promise<MerkleTreeProofWithTreeState> - MerkleTreeProof and TreeState on which proof has been generated