TransactionBuilder.toSignedTransaction - corda

corda / net.corda.core.transactions / TransactionBuilder / toSignedTransaction

# toSignedTransaction

`fun toSignedTransaction(keyManagementService: KeyManagementService, publicKey: PublicKey, signatureMetadata: SignatureMetadata, services: ServicesForResolution): SignedTransaction`

Sign the built transaction and return it. This is an internal function for use by the service hub, please use ServiceHub.signInitialTransaction instead.