Package com.daml.ledger.api.v1
Interface EventQueryServiceGrpc.AsyncService
-
- All Known Implementing Classes:
EventQueryServiceGrpc.EventQueryServiceImplBase
- Enclosing class:
- EventQueryServiceGrpc
public static interface EventQueryServiceGrpc.AsyncService
Query events by contract id or key.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description 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.default void
getEventsByContractKey(EventQueryServiceOuterClass.GetEventsByContractKeyRequest request, io.grpc.stub.StreamObserver<EventQueryServiceOuterClass.GetEventsByContractKeyResponse> responseObserver)
Get all create and consuming exercise events for the contracts with the provided contract key.
-
-
-
Method Detail
-
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.
-
getEventsByContractKey
default void getEventsByContractKey(EventQueryServiceOuterClass.GetEventsByContractKeyRequest request, io.grpc.stub.StreamObserver<EventQueryServiceOuterClass.GetEventsByContractKeyResponse> responseObserver)
Get all create and consuming exercise events for the contracts with the provided contract key. Only events for unpruned contracts will be returned. Matching events are delivered in reverse chronological order, i.e., the most recent events are delivered first.
-
-