verify
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.
Throws
if a required attachment was not found in storage.
if an input points to a transaction not found in storage.
if any signatures were invalid or unrecognised
if any signatures that should have been present are missing.