> ## 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.AsyncService

> 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.AsyncService

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

**Signature**

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
public static interface EventQueryServiceGrpc.AsyncService
```

**Members**

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