Package com.daml.ledger.api.v2
Interface EventQueryServiceGrpc.AsyncService
- All Known Implementing Classes:
EventQueryServiceGrpc.EventQueryServiceImplBase
- Enclosing class:
- EventQueryServiceGrpc
public static interface 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.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
getEventsByContractId
(EventQueryServiceOuterClass.GetEventsByContractIdRequest request, io.grpc.stub.StreamObserver<EventQueryServiceOuterClass.GetEventsByContractIdResponse> responseObserver) Get the create and the consuming exercise event for the contract with the provided ID.
-
Method Details
-
getEventsByContractId
default void getEventsByContractId(EventQueryServiceOuterClass.GetEventsByContractIdRequest request, io.grpc.stub.StreamObserver<EventQueryServiceOuterClass.GetEventsByContractIdResponse> responseObserver) 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.
-