Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class NetworkServiceGrpc.NetworkServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<NetworkServiceGrpc.NetworkServiceBlockingV2Stub>
io.grpc.stub.AbstractBlockingStub<NetworkServiceGrpc.NetworkServiceBlockingV2Stub>
com.hedera.hashgraph.sdk.proto.NetworkServiceGrpc.NetworkServiceBlockingV2Stub
- Enclosing class:
NetworkServiceGrpc
public static final class NetworkServiceGrpc.NetworkServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<NetworkServiceGrpc.NetworkServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service NetworkService.
Basic "network information" queries. This service supports queries for the active services and API versions, and a query for account details.
-
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) getAccountDetails(Query request) Request detail information about an account.getExecutionTime(Query request) Deprecated.getVersionInfo(Query request) Retrieve the active versions of Hedera Services and API messages.uncheckedSubmit(Transaction request) Deprecated.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 NetworkServiceGrpc.NetworkServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<NetworkServiceGrpc.NetworkServiceBlockingV2Stub>
-
getVersionInfo
Retrieve the active versions of Hedera Services and API messages.
- Throws:
io.grpc.StatusException
-
getAccountDetails
Request detail information about an account. <p> The returned information SHALL include balance and allowances.<br/> The returned information SHALL NOT include a list of account records.
- Throws:
io.grpc.StatusException
-
getExecutionTime
Deprecated.Retrieve the time, in nanoseconds, spent in direct processing for one or more recent transactions. <p> For each transaction identifier provided, if that transaction is sufficiently recent (that is, it is within the range of the configuration value `stats.executionTimesToTrack`), the node SHALL return the time, in nanoseconds, spent to directly process that transaction (that is, excluding time to reach consensus).<br/> Note that because each node processes every transaction for the Hedera network, this query MAY be sent to any node. <p> <blockquote>Important<blockquote> This query is obsolete, not supported, and SHALL fail with a pre-check result of `NOT_SUPPORTED`.</blockquote></blockquote>
- Throws:
io.grpc.StatusException
-
uncheckedSubmit
@Deprecated public TransactionResponse uncheckedSubmit(Transaction request) throws io.grpc.StatusException Deprecated.Submit a transaction that wraps another transaction which will skip most validation. <p> <blockquote>Important<blockquote> This query is obsolete, not supported, and SHALL fail with a pre-check result of `NOT_SUPPORTED`. </blockquote></blockquote>
- Throws:
io.grpc.StatusException
-