package command
- Alphabetic
- By Inheritance
- command
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- sealed abstract class ApiCommand extends Product with Serializable
Accepted commands coming from API
- case class ApiCommands(commands: ImmArray[ApiCommand], ledgerEffectiveTime: Timestamp, commandsReference: String) extends Product with Serializable
Commands input adapted from ledger-api
Commands input adapted from ledger-api
- commands
a batch of commands to be interpreted/executed
- ledgerEffectiveTime
approximate time the commands to be effective, interpretation will take this instant
- commandsReference
id passed only for error reporting
- final case class ContractMetadata(createdAt: Timestamp, keyHash: Option[Hash], driverMetadata: ImmArray[Byte]) extends Product with Serializable
Contract metadata attached to disclosed contracts.
Contract metadata attached to disclosed contracts.
- createdAt
ledger effective time of the transaction that created the contract
- keyHash
hash of the contract key, if present
- final case class DisclosedContract(templateId: Identifier, contractId: ContractId, argument: Value, metadata: ContractMetadata) extends Product with Serializable
An additional contract that is used to resolve contract id and contract key lookups during interpretation.
An additional contract that is used to resolve contract id and contract key lookups during interpretation.
- templateId
identifier of the template of disclosed contract
- contractId
the contract id of the disclosed contract
- argument
the payload of the disclosed contract
- metadata
metatdata attached to this disclosure. See [ContractMetadata].
- sealed abstract class ReplayCommand extends Product with Serializable
Accepted commands for replay
Deprecated Type Members
- type Commands = ApiCommands
- Annotations
- @deprecated
- Deprecated
(Since version 2.1.0) use ApiCommands
- type CreateAndExerciseCommand = CreateAndExercise
- Annotations
- @deprecated
- Deprecated
(Since version 2.1.0) use ApiCommand.CreateAndExercise
- type CreateCommand = Create
- Annotations
- @deprecated
- Deprecated
(Since version 2.1.0) use ApiCommand.Create
- type ExerciseByKeyCommand = ExerciseByKey
- Annotations
- @deprecated
- Deprecated
(Since version 2.1.0) use ApiCommand.ExerciseByKey
- type ExerciseCommand = Exercise
- Annotations
- @deprecated
- Deprecated
(Since version 2.1.0) use ApiCommand.Exercise
Value Members
- object ApiCommand extends Serializable
- object ReplayCommand extends Serializable
Deprecated Value Members
- val Commands: ApiCommands.type
- Annotations
- @deprecated
- Deprecated
(Since version 2.1.0) use ApiCommands
- val CreateAndExerciseCommand: CreateAndExercise.type
- Annotations
- @deprecated
- Deprecated
(Since version 2.1.0) use ApiCommand.ExerciseKey
- val CreateCommand: Create.type
- Annotations
- @deprecated
- Deprecated
(Since version 2.1.0) use ApiCommand.Create
- val ExerciseByKeyCommand: ExerciseByKey.type
- Annotations
- @deprecated
- Deprecated
(Since version 2.1.0) use ApiCommand.ExerciseKey
- val ExerciseCommand: Exercise.type
- Annotations
- @deprecated
- Deprecated
(Since version 2.1.0) use ApiCommand.Exercise