net.corda.core.contracts / Command

# Command

`data class Command`

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

### Constructors

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

### Properties

signers | `val signers: List<PublicKeyTree>`
value | `val value: CommandData`

### Functions

toString | `fun toString(): String`