UNPKG

@digitalasset/daml-ledger

Version:
14 lines (13 loc) 707 B
import { ILedgerIdentityServiceClient } from "../generated/com/daml/ledger/api/v1/ledger_identity_service_grpc_pb"; import { Callback } from "../util/Callback"; import { ClientCancellableCall } from "../call/ClientCancellableCall"; import { GetLedgerIdentityResponse } from "../model/GetLedgerIdentityResponse"; export declare class NodeJsLedgerIdentityClient { private static request; private readonly client; constructor(client: ILedgerIdentityServiceClient); private getLedgerIdentityCallback; private getLedgerIdentityPromise; getLedgerIdentity(): Promise<GetLedgerIdentityResponse>; getLedgerIdentity(callback: Callback<GetLedgerIdentityResponse>): ClientCancellableCall; }