com.r3corda.core.transactions / WireTransaction / toLedgerTransaction

# toLedgerTransaction

`fun toLedgerTransaction(services: ServiceHub): LedgerTransaction`

Looks up identities and attachments from storage to generate a LedgerTransaction. A transaction is expected to have been fully resolved using the resolution protocol by this point.

### Exceptions

`FileNotFoundException` - if a required attachment was not found in storage.
`TransactionResolutionException` - if an input points to a transaction not found in storage.