AnchorVerification

data class AnchorVerification(val verified: Boolean, val testMode: Boolean = false, val reason: String? = null)

Outcome of BlockchainAnchorClient.verifyAnchorDetailed.

Parameters

verified

whether the on-chain data attests to the payload

testMode

true when the anchor was served from a client's in-memory test fallback (inMemoryTestMode): such an anchor is NOT on any blockchain, so a verified result must not be treated as chain evidence

reason

why verification failed, when it did and the cause is known

Constructors

Link copied to clipboard
constructor(verified: Boolean, testMode: Boolean = false, reason: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard