corda / net.corda.core.cordapp / CordappProvider / getContractAttachmentID

getContractAttachmentID

abstract fun getContractAttachmentID(contractClassName: ContractClassName): AttachmentId?

Resolve an attachment ID for a given contract name

Parameters

contractClassName - The contract to find the attachment for

Return
An attachment ID if it exists