Package com.daml.ledger.api.v1
Class TransactionServiceGrpc.TransactionServiceFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<TransactionServiceGrpc.TransactionServiceFutureStub>
-
- com.daml.ledger.api.v1.TransactionServiceGrpc.TransactionServiceFutureStub
-
- Enclosing class:
- TransactionServiceGrpc
public static final class TransactionServiceGrpc.TransactionServiceFutureStub extends io.grpc.stub.AbstractFutureStub<TransactionServiceGrpc.TransactionServiceFutureStub>
Allows clients to read transactions from the ledger.
-
-
Method Summary
-
-
-
Method Detail
-
build
protected TransactionServiceGrpc.TransactionServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<TransactionServiceGrpc.TransactionServiceFutureStub>
-
getTransactionByEventId
public com.google.common.util.concurrent.ListenableFuture<TransactionServiceOuterClass.GetTransactionResponse> getTransactionByEventId(TransactionServiceOuterClass.GetTransactionByEventIdRequest request)
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 Errors: - ``UNAUTHENTICATED``: if the request does not include a valid access token - ``PERMISSION_DENIED``: if the claims in the token are insufficient to perform a given operation - ``NOT_FOUND``: if the request does not include a valid ledger id or no such transaction exists - ``INVALID_ARGUMENT``: if the payload is malformed or is missing required fields (e.g. if requesting parties are invalid or empty)
-
getTransactionById
public com.google.common.util.concurrent.ListenableFuture<TransactionServiceOuterClass.GetTransactionResponse> getTransactionById(TransactionServiceOuterClass.GetTransactionByIdRequest request)
Lookup a transaction tree by its ID. For looking up a transaction instead of a transaction tree, please see GetFlatTransactionById Errors: - ``UNAUTHENTICATED``: if the request does not include a valid access token - ``PERMISSION_DENIED``: if the claims in the token are insufficient to perform a given operation - ``NOT_FOUND``: if the request does not include a valid ledger id or no such transaction exists - ``INVALID_ARGUMENT``: if the payload is malformed or is missing required fields (e.g. if requesting parties are invalid or empty)
-
getFlatTransactionByEventId
public com.google.common.util.concurrent.ListenableFuture<TransactionServiceOuterClass.GetFlatTransactionResponse> getFlatTransactionByEventId(TransactionServiceOuterClass.GetTransactionByEventIdRequest request)
Lookup a transaction by the ID of an event that appears within it. Errors: - ``UNAUTHENTICATED``: if the request does not include a valid access token - ``PERMISSION_DENIED``: if the claims in the token are insufficient to perform a given operation - ``NOT_FOUND``: if the request does not include a valid ledger id or no such transaction exists - ``INVALID_ARGUMENT``: if the payload is malformed or is missing required fields (e.g. if requesting parties are invalid or empty)
-
getFlatTransactionById
public com.google.common.util.concurrent.ListenableFuture<TransactionServiceOuterClass.GetFlatTransactionResponse> getFlatTransactionById(TransactionServiceOuterClass.GetTransactionByIdRequest request)
Lookup a transaction by its ID. Errors: - ``UNAUTHENTICATED``: if the request does not include a valid access token - ``PERMISSION_DENIED``: if the claims in the token are insufficient to perform a given operation - ``NOT_FOUND``: if the request does not include a valid ledger id or no such transaction exists - ``INVALID_ARGUMENT``: if the payload is malformed or is missing required fields (e.g. if requesting parties are invalid or empty)
-
getLedgerEnd
public com.google.common.util.concurrent.ListenableFuture<TransactionServiceOuterClass.GetLedgerEndResponse> getLedgerEnd(TransactionServiceOuterClass.GetLedgerEndRequest request)
Get the current ledger end. Subscriptions started with the returned offset will serve transactions created after this RPC was called. Errors: - ``UNAUTHENTICATED``: if the request does not include a valid access token - ``PERMISSION_DENIED``: if the claims in the token are insufficient to perform a given operation - ``NOT_FOUND``: if the request does not include a valid ledger id
-
-