> ## Documentation Index
> Fetch the complete documentation index at: https://cantonfoundation-update-ref-tables.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# EventQueryServiceGrpc.EventQueryServiceStub

> A stub to allow clients to do asynchronous rpc calls to service EventQueryService. Query events by contract id. Note that querying by contract key is not (yet) supported, as contract keys are not supported (yet) in multi-synchronizer scenarios.

## EventQueryServiceGrpc.EventQueryServiceStub

Upstream docs: [Open](https://javadoc.io/doc/com.daml/bindings-java/3.5.6/com/daml/ledger/api/v2/EventQueryServiceGrpc.EventQueryServiceStub.html)

**Signature**

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
public static final class EventQueryServiceGrpc.EventQueryServiceStub extends io.grpc.stub.AbstractAsyncStub<EventQueryServiceGrpc.EventQueryServiceStub>
```

**Members**

| Docs                                                                                                                                                                                                                                                                       | Member                                                                                                                                                       | Introduced | Deprecated | Removed |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------- | ---------- | ------- |
| [Open](https://javadoc.io/doc/com.daml/bindings-java/3.5.6/com/daml/ledger/api/v2/EventQueryServiceGrpc.EventQueryServiceStub.html#build%28io.grpc.Channel,io.grpc.CallOptions%29)                                                                                         | `build(Channel, CallOptions)`                                                                                                                                | `3.5.6`    | -          | -       |
| [Open](https://javadoc.io/doc/com.daml/bindings-java/3.5.6/com/daml/ledger/api/v2/EventQueryServiceGrpc.EventQueryServiceStub.html#getEventsByContractId%28com.daml.ledger.api.v2.EventQueryServiceOuterClass.GetEventsByContractIdRequest,io.grpc.stub.StreamObserver%29) | `getEventsByContractId(EventQueryServiceOuterClass.GetEventsByContractIdRequest, StreamObserver<EventQueryServiceOuterClass.GetEventsByContractIdResponse>)` | `3.5.6`    | -          | -       |
