Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class CryptoServiceGrpc.CryptoServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<CryptoServiceGrpc.CryptoServiceFutureStub>
io.grpc.stub.AbstractFutureStub<CryptoServiceGrpc.CryptoServiceFutureStub>
com.hedera.hashgraph.sdk.proto.CryptoServiceGrpc.CryptoServiceFutureStub
- Enclosing class:
CryptoServiceGrpc
public static final class CryptoServiceGrpc.CryptoServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<CryptoServiceGrpc.CryptoServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service CryptoService.
Transactions and queries for the Hedera Crypto Service.
-
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 TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<TransactionResponse> addLiveHash(Transaction request) Deprecated.com.google.common.util.concurrent.ListenableFuture<TransactionResponse> approveAllowances(Transaction request) Add one or more approved allowances for spenders to transfer the paying account's hbar or tokens.build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<TransactionResponse> createAccount(Transaction request) Create a new account by submitting the transactioncom.google.common.util.concurrent.ListenableFuture<TransactionResponse> cryptoDelete(Transaction request) Delete an account by submitting the transactioncom.google.common.util.concurrent.ListenableFuture<Response> cryptoGetBalance(Query request) Retrieve the balance of an accountcom.google.common.util.concurrent.ListenableFuture<TransactionResponse> cryptoTransfer(Transaction request) Initiate a transfer by submitting the transactioncom.google.common.util.concurrent.ListenableFuture<TransactionResponse> deleteAllowances(Transaction request) Delete one or more of the specific approved NFT serial numbers on an owner account.com.google.common.util.concurrent.ListenableFuture<TransactionResponse> deleteLiveHash(Transaction request) Deprecated.com.google.common.util.concurrent.ListenableFuture<Response> getAccountInfo(Query request) Retrieve the metadata of an accountcom.google.common.util.concurrent.ListenableFuture<Response> getAccountRecords(Query request) Return all transactions in the last 180s of consensus time for which the given account was the effective payer **and** network property `ledger.keepRecordsInState` was `true`.com.google.common.util.concurrent.ListenableFuture<Response> getLiveHash(Query request) Deprecated.com.google.common.util.concurrent.ListenableFuture<Response> getTransactionReceipts(Query request) Retrieve the latest receipt for a transaction that is either awaiting consensus, or reached consensus in the last 180 secondscom.google.common.util.concurrent.ListenableFuture<Response> getTxRecordByTxID(Query request) Retrieve the record of a transaction that is either awaiting consensus, or reached consensus in the last 180 secondscom.google.common.util.concurrent.ListenableFuture<TransactionResponse> updateAccount(Transaction request) Update an account by submitting the transactionMethods inherited from class io.grpc.stub.AbstractFutureStub
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 CryptoServiceGrpc.CryptoServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<CryptoServiceGrpc.CryptoServiceFutureStub>
-
createAccount
public com.google.common.util.concurrent.ListenableFuture<TransactionResponse> createAccount(Transaction request) Create a new account by submitting the transaction
-
updateAccount
public com.google.common.util.concurrent.ListenableFuture<TransactionResponse> updateAccount(Transaction request) Update an account by submitting the transaction
-
cryptoTransfer
public com.google.common.util.concurrent.ListenableFuture<TransactionResponse> cryptoTransfer(Transaction request) Initiate a transfer by submitting the transaction
-
cryptoDelete
public com.google.common.util.concurrent.ListenableFuture<TransactionResponse> cryptoDelete(Transaction request) Delete an account by submitting the transaction
-
approveAllowances
public com.google.common.util.concurrent.ListenableFuture<TransactionResponse> approveAllowances(Transaction request) Add one or more approved allowances for spenders to transfer the paying account's hbar or tokens.
-
deleteAllowances
public com.google.common.util.concurrent.ListenableFuture<TransactionResponse> deleteAllowances(Transaction request) Delete one or more of the specific approved NFT serial numbers on an owner account.
-
addLiveHash
@Deprecated public com.google.common.util.concurrent.ListenableFuture<TransactionResponse> addLiveHash(Transaction request) Deprecated.Add a livehash <blockquote>Important<blockquote> This transaction is obsolete, not supported, and SHALL fail with a pre-check result of `NOT_SUPPORTED`.</blockquote></blockquote>
-
deleteLiveHash
@Deprecated public com.google.common.util.concurrent.ListenableFuture<TransactionResponse> deleteLiveHash(Transaction request) Deprecated.Delete a livehash <blockquote>Important<blockquote> This transaction is obsolete, not supported, and SHALL fail with a pre-check result of `NOT_SUPPORTED`.</blockquote></blockquote>
-
getLiveHash
@Deprecated public com.google.common.util.concurrent.ListenableFuture<Response> getLiveHash(Query request) Deprecated.Retrieve a livehash for an account <blockquote>Important<blockquote> This query is obsolete, not supported, and SHALL fail with a pre-check result of `NOT_SUPPORTED`.</blockquote></blockquote>
-
getAccountRecords
public com.google.common.util.concurrent.ListenableFuture<Response> getAccountRecords(Query request) Return all transactions in the last 180s of consensus time for which the given account was the effective payer **and** network property `ledger.keepRecordsInState` was `true`.
-
cryptoGetBalance
Retrieve the balance of an account
-
getAccountInfo
Retrieve the metadata of an account
-
getTransactionReceipts
public com.google.common.util.concurrent.ListenableFuture<Response> getTransactionReceipts(Query request) Retrieve the latest receipt for a transaction that is either awaiting consensus, or reached consensus in the last 180 seconds
-
getTxRecordByTxID
public com.google.common.util.concurrent.ListenableFuture<Response> getTxRecordByTxID(Query request) Retrieve the record of a transaction that is either awaiting consensus, or reached consensus in the last 180 seconds
-