corda / net.corda.core.cordapp / CordappProvider

CordappProvider

@DoNotImplement interface CordappProvider

Provides access to what the node knows about loaded applications.

Functions

getAppContext

Exposes the current CorDapp context which will contain information and configuration of the CorDapp that is currently running.

abstract fun getAppContext(): CordappContext

getContractAttachmentID

Resolve an attachment ID for a given contract name

abstract fun getContractAttachmentID(contractClassName: ContractClassName): AttachmentId?