checkSigchainHash
fun checkSigchainHash(userId: String, expectedHash: String, position: Long = -1): CheckSigchainResponse
Verify if a given hash is included in the recipient's sigchain. Use the position
option to check the hash of a specific sigchain transaction.
Return
A CheckSigchainResponse instance containing the response.
Parameters
userId | The Seald ID of the concerned user. |
expectedHash | The expected sigchain hash. |
position | Position of the sigchain transaction against which to check the hash. -1 to check if the hash exist in the sigchain. Default to -1. |
Throws
SealdException |