Vault.ConstraintInfo - corda

corda / net.corda.core.node.services / Vault / ConstraintInfo

# ConstraintInfo

`data class ConstraintInfo`

Contract constraint information associated with a ContractState. See AttachmentConstraint

### Types

#### Type | `enum class Type`

### Constructors

#### <init> | Contract constraint information associated with a ContractState. See AttachmentConstraint `ConstraintInfo(constraint: AttachmentConstraint)`

### Properties

#### constraint | `val constraint: AttachmentConstraint`

### Functions

#### data | `fun data(): ByteArray?`
#### type | `fun type(): Type`

### Companion Object Functions

#### constraintInfo | `fun constraintInfo(type: Type, data: ByteArray?): ConstraintInfo`