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() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def submit(actAs: Seq[PartyId], commands: Seq[Command], domainId: DomainId, 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): 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_assign(submitter: PartyId, unassignId: String, source: DomainId, target: DomainId, workflowId: String = "", applicationId: String = applicationId, submissionId: String = UUID.randomUUID().toString, waitForParticipants: Map[ParticipantReferenceCommon, PartyId] = Map.empty, timeout: NonNegativeDuration = timeouts.ledgerCommand): AssignedWrapper
- Annotations
- @Summary(s = "Submit assign command and wait for the resulting reassignment, returning the reassignment or failing otherwise", flag = FeatureFlag.Testing) @Description(s = """Submits a assignment command on behalf of `submitter` party, waits for the resulting assignment to commit, and returns the reassignment.
| If waitForParticipants is set, it also waits for the reassignment(s) to appear at all other configured
| participants who were involved in the assignment. The call blocks until the assignment commits or fails.
| Fails if the assignment doesn't commit, or if it doesn't become visible to the involved participants in time.
| Timout specifies the time how long to wait until the reassignment appears in the update stream for the submitting and all the specified participants.
| The unassignId should be the one returned by the corresponding submit_unassign command.""")
- def submit_assign_async(submitter: PartyId, unassignId: String, source: DomainId, target: DomainId, workflowId: String = "", applicationId: String = applicationId, commandId: String = UUID.randomUUID().toString, submissionId: String = UUID.randomUUID().toString): Unit
- Annotations
- @Summary(s = "Submit assign 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_async(actAs: Seq[PartyId], commands: Seq[Command], domainId: DomainId, 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): 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], domainId: DomainId, 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): 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.""")
- def submit_unassign(submitter: PartyId, contractId: LfContractId, source: DomainId, target: DomainId, workflowId: String = "", applicationId: String = applicationId, submissionId: String = UUID.randomUUID().toString, waitForParticipants: Map[ParticipantReferenceCommon, PartyId] = Map.empty, timeout: NonNegativeDuration = timeouts.ledgerCommand): UnassignedWrapper
- Annotations
- @Summary(s = "Submit assign command and wait for the resulting reassignment, returning the reassignment or failing otherwise", flag = FeatureFlag.Testing) @Description(s = """Submits an unassignment command on behalf of `submitter` party, waits for the resulting unassignment to commit, and returns the reassignment.
| If waitForParticipants is set, it also waits for the reassignment(s) to appear at all other configured
| participants who were involved in the unassignment. The call blocks until the unassignment commits or fails.
| Fails if the unassignment doesn't commit, or if it doesn't become visible to the involved participants in time.
| Timout specifies the time how long to wait until the reassignment appears in the update stream for the submitting and all the specified participants.""")
- def submit_unassign_async(submitter: PartyId, contractId: LfContractId, source: DomainId, target: DomainId, workflowId: String = "", applicationId: String = applicationId, commandId: String = UUID.randomUUID().toString, submissionId: String = UUID.randomUUID().toString): Unit
- Annotations
- @Summary(s = "Submit unassign 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.""")
- 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])