object commands extends Helpful
- Annotations
- @Summary(s = "Submit commands", flag = FeatureFlag.Testing) @Group(name = "Command Submission")
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- commands
- Helpful
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def failed(commandId: String = "", limit: PositiveInt = PositiveInt.tryCreate(10)): Seq[CommandStatus]
- Annotations
- @Summary(s = "Investigate failed commands", flag = FeatureFlag.Testing) @Description(s = """Same as status(..., state = CommandState.Failed).""")
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def help(methodName: String)(implicit consoleEnvironment: ConsoleEnvironment): Unit
- Definition Classes
- Helpful
- Annotations
- @Summary(s = "Help for specific commands (use help() or help(\"method\") for more information)", flag = console.this.Help.Summary.<init>$default$2) @Topic(t = Seq("Top-level Commands"))
- def help()(implicit consoleEnvironment: ConsoleEnvironment): Unit
- Definition Classes
- Helpful
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def status(commandIdPrefix: String = "", state: CommandState = CommandState.STATE_UNSPECIFIED, limit: PositiveInt = PositiveInt.tryCreate(10)): Seq[CommandStatus]
- Annotations
- @Summary(s = "Investigate successful and failed commands", flag = FeatureFlag.Testing) @Description(s = """Find the status of commands. Note that only recent commands which are kept in memory will be returned.""")
- def submit(actAs: Seq[PartyId], commands: Seq[Command], workflowId: String = "", commandId: String = "", optTimeout: Option[NonNegativeDuration] = Some(timeouts.ledgerCommand), deduplicationPeriod: Option[DeduplicationPeriod] = None, submissionId: String = "", minLedgerTimeAbs: Option[Instant] = None, readAs: Seq[PartyId] = Seq.empty, disclosedContracts: Seq[DisclosedContract] = Seq.empty, applicationId: String = applicationId, userPackageSelectionPreference: Seq[LfPackageId] = Seq.empty): TransactionTree
- Annotations
- @Summary(s = "Submit command and wait for the resulting transaction, returning the transaction tree or failing otherwise", flag = FeatureFlag.Testing) @Description(s = """Submits a command on behalf of the `actAs` parties, waits for the resulting transaction to commit and returns it.
| If the timeout is set, it also waits for the transaction to appear at all other configured
| participants who were involved in the transaction. The call blocks until the transaction commits or fails;
| the timeout only specifies how long to wait at the other participants.
| Fails if the transaction doesn't commit, or if it doesn't become visible to the involved participants in
| the allotted time.
| Note that if the optTimeout is set and the involved parties are concurrently enabled/disabled or their
| participants are connected/disconnected, the command may currently result in spurious timeouts or may
| return before the transaction appears at all the involved participants.""")
- def submit_async(actAs: Seq[PartyId], commands: Seq[Command], workflowId: String = "", commandId: String = "", deduplicationPeriod: Option[DeduplicationPeriod] = None, submissionId: String = "", minLedgerTimeAbs: Option[Instant] = None, readAs: Seq[PartyId] = Seq.empty, disclosedContracts: Seq[DisclosedContract] = Seq.empty, applicationId: String = applicationId, userPackageSelectionPreference: Seq[LfPackageId] = Seq.empty): Unit
- Annotations
- @Summary(s = "Submit command asynchronously", flag = FeatureFlag.Testing) @Description(s = """Provides access to the command submission service of the Ledger API.
|See https://docs.daml.com/app-dev/services.html for documentation of the parameters.""")
- def submit_flat(actAs: Seq[PartyId], commands: Seq[Command], workflowId: String = "", commandId: String = "", optTimeout: Option[NonNegativeDuration] = Some(timeouts.ledgerCommand), deduplicationPeriod: Option[DeduplicationPeriod] = None, submissionId: String = "", minLedgerTimeAbs: Option[Instant] = None, readAs: Seq[PartyId] = Seq.empty, disclosedContracts: Seq[DisclosedContract] = Seq.empty, applicationId: String = applicationId, userPackageSelectionPreference: Seq[LfPackageId] = Seq.empty): Transaction
- Annotations
- @Summary(s = "Submit command and wait for the resulting transaction, returning the flattened transaction or failing otherwise", flag = FeatureFlag.Testing) @Description(s = """Submits a command on behalf of the `actAs` parties, waits for the resulting transaction to commit, and returns the "flattened" transaction.
| If the timeout is set, it also waits for the transaction to appear at all other configured
| participants who were involved in the transaction. The call blocks until the transaction commits or fails;
| the timeout only specifies how long to wait at the other participants.
| Fails if the transaction doesn't commit, or if it doesn't become visible to the involved participants in
| the allotted time.
| Note that if the optTimeout is set and the involved parties are concurrently enabled/disabled or their
| participants are connected/disconnected, the command may currently result in spurious timeouts or may
| return before the transaction appears at all the involved participants.""")
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])