Command - corda

corda / net.corda.core.contracts / Command

# Command

`data class Command<T : CommandData>`

Command data/content plus pubkey pair: the signature is stored at the end of the serialized bytes

### Constructors

#### <init> | `Command(data: T, key: PublicKey)` Command data/content plus pubkey pair: the signature is stored at the end of the serialized bytes `Command(value: T, signers: List<PublicKey>)`

### Properties

#### signers | `val signers: List<PublicKey>`
#### value | `val value: T`

### Functions

#### toString | `fun toString(): String`