com.r3corda.core.contracts / toLedgerTransaction

toLedgerTransaction

fun WireTransaction.toLedgerTransaction(identityService: IdentityService, attachmentStorage: AttachmentStorage): LedgerTransaction

Looks up identities and attachments from storage to generate a LedgerTransaction.

Exceptions

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