corda / net.corda.core.node / ServicesForResolution / loadContractAttachment

loadContractAttachment

abstract fun loadContractAttachment(stateRef: StateRef): Attachment

Returns the Attachment that defines the given StateRef, which must be in the visible subset of the ledger.