corda / net.corda.core.transactions / SignedTransaction / verify


@JvmOverloads fun verify(services: ServiceHub, checkSufficientSignatures: Boolean = true): Unit

Checks the transaction's signatures are valid, optionally calls verifyRequiredSignatures to check all required signatures are present. Resolves inputs and attachments from the local storage and performs full transaction verification, including running the contracts.


AttachmentResolutionException - if a required attachment was not found in storage.

TransactionResolutionException - if an input points to a transaction not found in storage.

SignatureException - if any signatures were invalid or unrecognised

SignaturesMissingException - if any signatures that should have been present are missing.