fun toLedgerTransaction(services: ServiceHub): LedgerTransactionCalls verifySignatures to check all required signatures are present, and then calls WireTransaction.toLedgerTransaction with the passed in ServiceHub to resolve the dependencies, returning an unverified LedgerTransaction.
FileNotFoundException - 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 unrecognisedSignaturesMissingException - if any signatures that should have been present are missing.