public static final class TransactionServiceGrpc.TransactionServiceStub extends io.grpc.stub.AbstractStub<TransactionServiceGrpc.TransactionServiceStub>
Allows clients to read transactions from the ledger.
protected TransactionServiceGrpc.TransactionServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<TransactionServiceGrpc.TransactionServiceStub>
public void getTransactions(TransactionServiceOuterClass.GetTransactionsRequest request, io.grpc.stub.StreamObserver<TransactionServiceOuterClass.GetTransactionsResponse> responseObserver)
Read the ledger's filtered transaction stream for a set of parties.
public 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.
public 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. Returns ``NOT_FOUND`` if no such transaction exists. For looking up a transaction instead of a transaction tree, please see GetFlatTransactionByEventId
public void getTransactionById(TransactionServiceOuterClass.GetTransactionByIdRequest request, io.grpc.stub.StreamObserver<TransactionServiceOuterClass.GetTransactionResponse> responseObserver)
Lookup a transaction tree by its ID. Returns ``NOT_FOUND`` if no such transaction exists. For looking up a transaction instead of a transaction tree, please see GetFlatTransactionById
public 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. Returns ``NOT_FOUND`` if no such transaction exists.
public void getFlatTransactionById(TransactionServiceOuterClass.GetTransactionByIdRequest request, io.grpc.stub.StreamObserver<TransactionServiceOuterClass.GetFlatTransactionResponse> responseObserver)
Lookup a transaction by its ID. Returns ``NOT_FOUND`` if no such transaction exists.
public 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.