-
public final class CompactTxStreamerGrpc.CompactTxStreamerFutureStub extends AbstractFutureStub<CompactTxStreamerGrpc.CompactTxStreamerFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service CompactTxStreamer.
-
-
Method Summary
Modifier and Type Method Description ListenableFuture<Service.BlockID>getLatestBlock(Service.ChainSpec request)Return the height of the tip of the best chainListenableFuture<CompactFormats.CompactBlock>getBlock(Service.BlockID request)Return the compact block corresponding to the given block identifierListenableFuture<CompactFormats.CompactBlock>getBlockNullifiers(Service.BlockID request)Same as GetBlock except actions contain only nullifiersListenableFuture<Service.RawTransaction>getTransaction(Service.TxFilter request)Return the requested full (not compact) transaction (as from zcashd)ListenableFuture<Service.SendResponse>sendTransaction(Service.RawTransaction request)Submit the given transaction to the Zcash networkListenableFuture<Service.Balance>getTaddressBalance(Service.AddressList request)ListenableFuture<Service.TreeState>getTreeState(Service.BlockID request)GetTreeState returns the note commitment tree state corresponding to the given block. See section 3.7 of the Zcash protocol specification. It returns several other useful values also (even though they can be obtained using GetBlock). The block can be specified by either height or hash.ListenableFuture<Service.TreeState>getLatestTreeState(Service.Empty request)ListenableFuture<Service.GetAddressUtxosReplyList>getAddressUtxos(Service.GetAddressUtxosArg request)ListenableFuture<Service.LightdInfo>getLightdInfo(Service.Empty request)Return information about this lightwalletd instance and the blockchainListenableFuture<Service.PingResponse>ping(Service.Duration request)Testing-only, requires lightwalletd --ping-very-insecure (do not enable in production)-
Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub -
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getLatestBlock
ListenableFuture<Service.BlockID> getLatestBlock(Service.ChainSpec request)
Return the height of the tip of the best chain
-
getBlock
ListenableFuture<CompactFormats.CompactBlock> getBlock(Service.BlockID request)
Return the compact block corresponding to the given block identifier
-
getBlockNullifiers
ListenableFuture<CompactFormats.CompactBlock> getBlockNullifiers(Service.BlockID request)
Same as GetBlock except actions contain only nullifiers
-
getTransaction
ListenableFuture<Service.RawTransaction> getTransaction(Service.TxFilter request)
Return the requested full (not compact) transaction (as from zcashd)
-
sendTransaction
ListenableFuture<Service.SendResponse> sendTransaction(Service.RawTransaction request)
Submit the given transaction to the Zcash network
-
getTaddressBalance
ListenableFuture<Service.Balance> getTaddressBalance(Service.AddressList request)
-
getTreeState
ListenableFuture<Service.TreeState> getTreeState(Service.BlockID request)
GetTreeState returns the note commitment tree state corresponding to the given block. See section 3.7 of the Zcash protocol specification. It returns several other useful values also (even though they can be obtained using GetBlock). The block can be specified by either height or hash.
-
getLatestTreeState
ListenableFuture<Service.TreeState> getLatestTreeState(Service.Empty request)
-
getAddressUtxos
ListenableFuture<Service.GetAddressUtxosReplyList> getAddressUtxos(Service.GetAddressUtxosArg request)
-
getLightdInfo
ListenableFuture<Service.LightdInfo> getLightdInfo(Service.Empty request)
Return information about this lightwalletd instance and the blockchain
-
ping
ListenableFuture<Service.PingResponse> ping(Service.Duration request)
Testing-only, requires lightwalletd --ping-very-insecure (do not enable in production)
-
-
-
-