Packages

class ExternalLedgerApiClient extends BaseLedgerApiAdministration with LedgerApiCommandRunner with BaseLedgerApiClient 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. NoTracing
  4. NamedLogging
  5. BaseLedgerApiClient
  6. LedgerApiCommandRunner
  7. BaseLedgerApiAdministration
  8. AnyRef
  9. 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def cantonConfig: CantonConfig
    Attributes
    protected
    Definition Classes
    FeatureFlagFilter
  6. def check[T](flag: FeatureFlag)(command: => T): T
    Attributes
    protected
    Definition Classes
    FeatureFlagFilter
  7. def clearLedgerId(): Unit
    Attributes
    protected
    Definition Classes
    BaseLedgerApiClient
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  9. implicit val consoleEnvironment: ConsoleEnvironment
  10. def domainOfTransaction(transactionId: String): DomainId
    Attributes
    protected
    Definition Classes
    ExternalLedgerApiClientBaseLedgerApiAdministration
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def ledgerApiCommand[Result](command: GrpcAdminCommand[_, _, Result]): ConsoleCommandResult[Result]
    Attributes
    protected[console]
    Definition Classes
    ExternalLedgerApiClientLedgerApiCommandRunner
  17. def ledgerApiCommand[Result](command: (LedgerId) => GrpcAdminCommand[_, _, Result]): ConsoleCommandResult[Result]
    Attributes
    protected[console]
    Definition Classes
    BaseLedgerApiClient
  18. def ledgerId(): Either[CommandError, LedgerId]
    Attributes
    protected[console]
    Definition Classes
    BaseLedgerApiClient
  19. def logger: TracedLogger
    Attributes
    protected
    Definition Classes
    NamedLogging
  20. val loggerFactory: NamedLoggerFactory
  21. implicit def loggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  22. val name: String
    Attributes
    protected
    Definition Classes
    ExternalLedgerApiClientBaseLedgerApiAdministration
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def noTracingLogger: Logger
    Attributes
    protected
    Definition Classes
    NamedLogging
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. def optionallyAwait[Tx](tx: Tx, txId: String, optTimeout: Option[TimeoutDuration]): Tx
    Attributes
    protected
    Definition Classes
    ExternalLedgerApiClientBaseLedgerApiAdministration
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. def timeouts: ConsoleCommandTimeout
    Attributes
    protected
    Definition Classes
    BaseLedgerApiAdministration
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. implicit def traceContext: TraceContext
    Attributes
    protected
    Definition Classes
    NoTracing
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. 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

Inherited from FeatureFlagFilter

Inherited from NoTracing

Inherited from NamedLogging

Inherited from BaseLedgerApiClient

Inherited from LedgerApiCommandRunner

Inherited from AnyRef

Inherited from Any

Ungrouped