Packages

class ExternalLedgerApiClient extends BaseLedgerApiAdministration with LedgerApiCommandRunner with FeatureFlagFilter with NamedLogging

Bare, Canton agnostic parts of the ledger-api client

This implementation allows to access any kind of ledger-api client, which does not need to be Canton based. However, this comes at some cost, as some of the synchronization between nodes during transaction submission is not supported

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExternalLedgerApiClient
  2. FeatureFlagFilter
  3. NamedLogging
  4. LedgerApiCommandRunner
  5. BaseLedgerApiAdministration
  6. NoTracing
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ExternalLedgerApiClient(hostname: String, port: Port, tls: Option[TlsClientConfig], token: Option[String] = None)(implicit consoleEnvironment: ConsoleEnvironment)

    hostname

    the hostname of the ledger api server

    port

    the port of the ledger api server

    tls

    the tls config to use on the client

    token

    the jwt token to use on the client

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. lazy val applicationId: String
    Attributes
    protected
    Definition Classes
    BaseLedgerApiAdministration
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def cantonConfig: CantonConfig
    Attributes
    protected
    Definition Classes
    FeatureFlagFilter
  7. def check[T](flag: FeatureFlag)(command: => T): T
    Attributes
    protected
    Definition Classes
    FeatureFlagFilter
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  9. implicit val consoleEnvironment: ConsoleEnvironment
  10. def defaultLimit: PositiveInt
    Attributes
    protected
    Definition Classes
    BaseLedgerApiAdministration
  11. def domainOfTransaction(transactionId: String): DomainId
    Attributes
    protected
    Definition Classes
    ExternalLedgerApiClientBaseLedgerApiAdministration
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  15. implicit lazy val executionContext: ExecutionContext
    Attributes
    protected[canton]
    Definition Classes
    BaseLedgerApiAdministration
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def ledgerApiCommand[Result](command: GrpcAdminCommand[_, _, Result]): ConsoleCommandResult[Result]
    Attributes
    protected[console]
    Definition Classes
    ExternalLedgerApiClientLedgerApiCommandRunner
  20. def logger: TracedLogger
    Attributes
    protected
    Definition Classes
    NamedLogging
  21. val loggerFactory: NamedLoggerFactory
  22. val name: String
    Attributes
    protected
    Definition Classes
    ExternalLedgerApiClientBaseLedgerApiAdministration
  23. implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def noTracingLogger: Logger
    Attributes
    protected
    Definition Classes
    NamedLogging
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  28. def optionallyAwait[Tx](tx: Tx, txId: String, optTimeout: Option[NonNegativeDuration]): Tx
    Attributes
    protected
    Definition Classes
    ExternalLedgerApiClientBaseLedgerApiAdministration
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. val token: Option[String]
  32. implicit def traceContext: TraceContext
    Attributes
    protected
    Definition Classes
    NoTracing
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. object ledger_api extends Helpful
    Definition Classes
    BaseLedgerApiAdministration
    Annotations
    @Summary(s = "Group of commands that access the ledger-api", flag = FeatureFlag.Testing) @Group(name = "Ledger Api")

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
    Deprecated

Inherited from FeatureFlagFilter

Inherited from NamedLogging

Inherited from LedgerApiCommandRunner

Inherited from NoTracing

Inherited from AnyRef

Inherited from Any

Ungrouped