object parties extends Helpful
- Annotations
- @Summary(s = "Manage parties through the Ledger API", flag = console.this.Help.Summary.<init>$default$2) @Group(name = "Party Management")
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- parties
- 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
- def allocate(party: String, annotations: Map[String, String] = Map.empty, identityProviderId: String = "", synchronizerId: Option[SynchronizerId] = None, userId: String = ""): PartyDetails
- Annotations
- @Summary(s = "Allocate a new party", flag = console.this.Help.Summary.<init>$default$2) @Description(s = """Allocates a new party on the ledger.
party: a hint for generating the party identifier
annotations: key-value pairs associated with this party and stored locally on this Ledger API server
identityProviderId: identity provider id
synchronizerId: The synchronizer on which the party should be allocated.
The participant must be connected to the synchronizer.
The parameter may be omitted if the participant is connected to only one synchronizer.""")
- def allocate_external(synchronizerId: SynchronizerId, transactions: Seq[(GenericTopologyTransaction, Seq[Signature])], multiSignatures: Seq[Signature]): AllocateExternalPartyResponse
- Annotations
- @Summary(s = "Allocate a new external party", flag = FeatureFlag.Preview) @Description(s = """Allocates a new external party on the ledger.
synchronizerId: SynchronizerId on which to allocate the party
transactions: onboarding transactions and their individual signatures
multiSignatures: Signatures over the combined hash of all onboarding transactions""")
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def generate_topology(synchronizerId: SynchronizerId, partyHint: String, publicKey: SigningPublicKey, localParticipantObservationOnly: Boolean = false, otherConfirmingParticipantIds: Seq[ParticipantId] = Seq.empty, confirmationThreshold: NonNegativeInt = NonNegativeInt.zero, observingParticipantIds: Seq[ParticipantId] = Seq.empty): GenerateExternalPartyTopology
- Annotations
- @Summary(s = "Generate topology transactions for an external party", flag = FeatureFlag.Preview) @Description(s = """Convenience function to generate the necessary topology transactions.
For more complex setups, please generate your topology transactions manually.
synchronizerId: SynchronizerId for which the transactions should be generated.
partyHint: the prefix for the party
publicKey: the signing public key of the external party
localParticipantObservationOnly: if true, then the allocating participant will only be an observer
otherConfirmingParticipantUids: list of other participants that will be confirming daml transactions on behalf of the party
confirmationThreshold: number of confirming participants which need to approve a daml transaction
observingParticipantUids: list of other participants that should observe the transactions of the external party
""")
- def get(parties: Seq[PartyId], identityProviderId: String = "", failOnNotFound: Boolean = true): Map[PartyId, PartyDetails]
- Annotations
- @Summary(s = "Get party details for known parties", flag = console.this.Help.Summary.<init>$default$2) @Description(s = """Get party details for parties known by the Ledger API server for the given identity provider.
identityProviderId: identity provider id""")
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- 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
- def list(identityProviderId: String = ""): Seq[PartyDetails]
- Annotations
- @Summary(s = "List parties known by the Ledger API server", flag = console.this.Help.Summary.<init>$default$2) @Description(s = """Lists parties known by the Ledger API server.
identityProviderId: identity provider id""")
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def update(party: Party, modifier: (PartyDetails) => PartyDetails, identityProviderId: String = ""): PartyDetails
- Annotations
- @Summary(s = "Update participant-local party details", flag = console.this.Help.Summary.<init>$default$2) @Description(s = """Currently you can update only the annotations.
|You cannot update other user attributes.
party: party to be updated,
modifier: a function to modify the party details, e.g.: `partyDetails => { partyDetails.copy(annotations = partyDetails.annotations.updated("a", "b").removed("c")) }`
identityProviderId: identity provider id""")
- def update_idp(party: PartyId, sourceIdentityProviderId: String, targetIdentityProviderId: String): Unit
- Annotations
- @Summary(s = "Update party's identity provider id", flag = console.this.Help.Summary.<init>$default$2) @Description(s = """Updates party's identity provider id.
party: party to be updated
sourceIdentityProviderId: source identity provider id
targetIdentityProviderId: target identity provider id
""")
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()