get Latest Contract Attachments
abstract fun getLatestContractAttachments(contractClassName: String, minContractVersion: Int = DEFAULT_CORDAPP_VERSION): List<AttachmentId>
Find the Attachment Id(s) of the contract attachments with the highest version for a given contract class name from trusted upload sources. Return highest version of both signed and unsigned attachment ids (signed first, unsigned second), otherwise return a single signed or unsigned version id, or an empty list if none meet the criteria.
Return
the AttachmentIds of the contract attachments (signed always first in list), or an empty list if none meet the criteria.
Parameters
contract Class Name
The fully qualified name of the contract class.
min Contract Version
The minimum contract version that should be returned.