Package com.daml.ledger.api.v2
Class ContractServiceGrpc.ContractServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<ContractServiceGrpc.ContractServiceBlockingStub>
io.grpc.stub.AbstractBlockingStub<ContractServiceGrpc.ContractServiceBlockingStub>
com.daml.ledger.api.v2.ContractServiceGrpc.ContractServiceBlockingStub
- Enclosing class:
ContractServiceGrpc
public static final class ContractServiceGrpc.ContractServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<ContractServiceGrpc.ContractServiceBlockingStub>
A stub to allow clients to do synchronous rpc calls to service ContractService.
This service is experimental / alpha, therefore no backwards compatibility is guaranteed.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) Looking up contract data by contract ID.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected ContractServiceGrpc.ContractServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ContractServiceGrpc.ContractServiceBlockingStub>
-
getContract
public ContractServiceOuterClass.GetContractResponse getContract(ContractServiceOuterClass.GetContractRequest request) Looking up contract data by contract ID. This endpoint is experimental / alpha, therefore no backwards compatibility is guaranteed. This endpoint must not be used to look up contracts which entered the participant via party replication or repair service. If there is no contract exist with the contract ID, or there is no intersection with the querying_parties, an CONTRACT_PAYLOAD_NOT_FOUND error will be raised.
-