var __defProp = Object.defineProperty;
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
import { EventQueryService } from "./event_query_service.js";
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
class EventQueryServiceClient {
  constructor(_transport) {
    this._transport = _transport;
    __publicField(this, "typeName", EventQueryService.typeName);
    __publicField(this, "methods", EventQueryService.methods);
    __publicField(this, "options", EventQueryService.options);
  }
  /**
   * Get the create and the consuming exercise event for the contract with the provided ID.
   * No events will be returned for contracts that have been pruned because they
   * have already been archived before the latest pruning offset.
   * If the contract cannot be found for the request, or all the contract-events are filtered, a CONTRACT_EVENTS_NOT_FOUND error will be raised.
   *
   * @generated from protobuf rpc: GetEventsByContractId
   */
  getEventsByContractId(input, options) {
    const method = this.methods[0], opt = this._transport.mergeOptions(options);
    return stackIntercept("unary", this._transport, method, opt, input);
  }
}
export {
  EventQueryServiceClient
};
//# sourceMappingURL=event_query_service.client.js.map