ServiceClient class
Constructors
-
ServiceClient(ClientChannel channel, {CallOptions? options, Iterable<ClientInterceptor>? interceptors})
-
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
$createCall<Q, R>(ClientMethod<Q, R> method, Stream<Q> requests, {CallOptions? options})
→ ClientCall<Q, R>
-
inherited
-
$createStreamingCall<Q, R>(ClientMethod<Q, R> method, Stream<Q> requests, {CallOptions? options})
→ ResponseStream<R>
-
inherited
-
$createUnaryCall<Q, R>(ClientMethod<Q, R> method, Q request, {CallOptions? options})
→ ResponseFuture<R>
-
inherited
-
getBlockByHeight(GetBlockByHeightRequest request, {CallOptions? options})
→ ResponseFuture<GetBlockByHeightResponse>
-
-
getLatestBlock(GetLatestBlockRequest request, {CallOptions? options})
→ ResponseFuture<GetLatestBlockResponse>
-
-
getLatestValidatorSet(GetLatestValidatorSetRequest request, {CallOptions? options})
→ ResponseFuture<GetLatestValidatorSetResponse>
-
-
getNodeInfo(GetNodeInfoRequest request, {CallOptions? options})
→ ResponseFuture<GetNodeInfoResponse>
-
-
getSyncing(GetSyncingRequest request, {CallOptions? options})
→ ResponseFuture<GetSyncingResponse>
-
-
getValidatorSetByHeight(GetValidatorSetByHeightRequest request, {CallOptions? options})
→ ResponseFuture<GetValidatorSetByHeightResponse>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited