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
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ExternalLedgerApiClient
- FeatureFlagFilter
- NamedLogging
- LedgerApiCommandRunner
- BaseLedgerApiAdministration
- NoTracing
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- 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
- 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 cantonConfig: CantonConfig
- Attributes
- protected
- Definition Classes
- FeatureFlagFilter
- def check[T](flag: FeatureFlag)(command: => T): T
- Attributes
- protected
- Definition Classes
- FeatureFlagFilter
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- implicit val consoleEnvironment: ConsoleEnvironment
- Definition Classes
- ExternalLedgerApiClient → FeatureFlagFilter → BaseLedgerApiAdministration
- def domainOfTransaction(transactionId: String): DomainId
- Attributes
- protected
- Definition Classes
- ExternalLedgerApiClient → BaseLedgerApiAdministration
- 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()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def ledgerApiCommand[Result](command: GrpcAdminCommand[_, _, Result]): ConsoleCommandResult[Result]
- Attributes
- protected[console]
- Definition Classes
- ExternalLedgerApiClient → LedgerApiCommandRunner
- def logger: TracedLogger
- Attributes
- protected
- Definition Classes
- NamedLogging
- val loggerFactory: NamedLoggerFactory
- Definition Classes
- ExternalLedgerApiClient → NamedLogging
- implicit def loggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
- Attributes
- protected
- Definition Classes
- NamedLogging
- val name: String
- Attributes
- protected
- Definition Classes
- ExternalLedgerApiClient → BaseLedgerApiAdministration
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noTracingLogger: Logger
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def optionallyAwait[Tx](tx: Tx, txId: String, optTimeout: Option[TimeoutDuration]): Tx
- Attributes
- protected
- Definition Classes
- ExternalLedgerApiClient → BaseLedgerApiAdministration
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def timeouts: ConsoleCommandTimeout
- Attributes
- protected
- Definition Classes
- BaseLedgerApiAdministration
- def toString(): String
- Definition Classes
- AnyRef → Any
- implicit def traceContext: TraceContext
- Attributes
- protected
- Definition Classes
- NoTracing
- 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])
- 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")