Package com.daml.ledger.api.v1
Interface TransactionServiceGrpc.AsyncService
-
- All Known Implementing Classes:
TransactionServiceGrpc.TransactionServiceImplBase
- Enclosing class:
- TransactionServiceGrpc
public static interface TransactionServiceGrpc.AsyncService
Allows clients to read transactions from the ledger. In V2 Ledger API this service is not available anymore. Use v2.UpdateService instead.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
getFlatTransactionByEventId(TransactionServiceOuterClass.GetTransactionByEventIdRequest request, io.grpc.stub.StreamObserver<TransactionServiceOuterClass.GetFlatTransactionResponse> responseObserver)
Lookup a transaction by the ID of an event that appears within it.default void
getFlatTransactionById(TransactionServiceOuterClass.GetTransactionByIdRequest request, io.grpc.stub.StreamObserver<TransactionServiceOuterClass.GetFlatTransactionResponse> responseObserver)
Lookup a transaction by its ID.default void
getLatestPrunedOffsets(TransactionServiceOuterClass.GetLatestPrunedOffsetsRequest request, io.grpc.stub.StreamObserver<TransactionServiceOuterClass.GetLatestPrunedOffsetsResponse> responseObserver)
Get the latest successfully pruned ledger offsetsdefault void
getLedgerEnd(TransactionServiceOuterClass.GetLedgerEndRequest request, io.grpc.stub.StreamObserver<TransactionServiceOuterClass.GetLedgerEndResponse> responseObserver)
Get the current ledger end.default void
getTransactionByEventId(TransactionServiceOuterClass.GetTransactionByEventIdRequest request, io.grpc.stub.StreamObserver<TransactionServiceOuterClass.GetTransactionResponse> responseObserver)
Lookup a transaction tree by the ID of an event that appears within it.default void
getTransactionById(TransactionServiceOuterClass.GetTransactionByIdRequest request, io.grpc.stub.StreamObserver<TransactionServiceOuterClass.GetTransactionResponse> responseObserver)
Lookup a transaction tree by its ID.default void
getTransactions(TransactionServiceOuterClass.GetTransactionsRequest request, io.grpc.stub.StreamObserver<TransactionServiceOuterClass.GetTransactionsResponse> responseObserver)
Read the ledger's filtered transaction stream for a set of parties.default void
getTransactionTrees(TransactionServiceOuterClass.GetTransactionsRequest request, io.grpc.stub.StreamObserver<TransactionServiceOuterClass.GetTransactionTreesResponse> responseObserver)
Read the ledger's complete transaction tree stream for a set of parties.
-
-
-
Method Detail
-
getTransactions
default void getTransactions(TransactionServiceOuterClass.GetTransactionsRequest request, io.grpc.stub.StreamObserver<TransactionServiceOuterClass.GetTransactionsResponse> responseObserver)
Read the ledger's filtered transaction stream for a set of parties. Lists only creates and archives, but not other events. Omits all events on transient contracts, i.e., contracts that were both created and archived in the same transaction.
-
getTransactionTrees
default void getTransactionTrees(TransactionServiceOuterClass.GetTransactionsRequest request, io.grpc.stub.StreamObserver<TransactionServiceOuterClass.GetTransactionTreesResponse> responseObserver)
Read the ledger's complete transaction tree stream for a set of parties. The stream can be filtered only by parties, but not templates (template filter must be empty).
-
getTransactionByEventId
default void getTransactionByEventId(TransactionServiceOuterClass.GetTransactionByEventIdRequest request, io.grpc.stub.StreamObserver<TransactionServiceOuterClass.GetTransactionResponse> responseObserver)
Lookup a transaction tree by the ID of an event that appears within it. For looking up a transaction instead of a transaction tree, please see GetFlatTransactionByEventId
-
getTransactionById
default void getTransactionById(TransactionServiceOuterClass.GetTransactionByIdRequest request, io.grpc.stub.StreamObserver<TransactionServiceOuterClass.GetTransactionResponse> responseObserver)
Lookup a transaction tree by its ID. For looking up a transaction instead of a transaction tree, please see GetFlatTransactionById
-
getFlatTransactionByEventId
default void getFlatTransactionByEventId(TransactionServiceOuterClass.GetTransactionByEventIdRequest request, io.grpc.stub.StreamObserver<TransactionServiceOuterClass.GetFlatTransactionResponse> responseObserver)
Lookup a transaction by the ID of an event that appears within it.
-
getFlatTransactionById
default void getFlatTransactionById(TransactionServiceOuterClass.GetTransactionByIdRequest request, io.grpc.stub.StreamObserver<TransactionServiceOuterClass.GetFlatTransactionResponse> responseObserver)
Lookup a transaction by its ID.
-
getLedgerEnd
default void getLedgerEnd(TransactionServiceOuterClass.GetLedgerEndRequest request, io.grpc.stub.StreamObserver<TransactionServiceOuterClass.GetLedgerEndResponse> responseObserver)
Get the current ledger end. Subscriptions started with the returned offset will serve transactions created after this RPC was called.
-
getLatestPrunedOffsets
default void getLatestPrunedOffsets(TransactionServiceOuterClass.GetLatestPrunedOffsetsRequest request, io.grpc.stub.StreamObserver<TransactionServiceOuterClass.GetLatestPrunedOffsetsResponse> responseObserver)
Get the latest successfully pruned ledger offsets
-
-