Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface CryptoServiceGrpc.AsyncService
- All Known Implementing Classes:
CryptoServiceGrpc.CryptoServiceImplBase
- Enclosing class:
CryptoServiceGrpc
public static interface CryptoServiceGrpc.AsyncService
Transactions and queries for the Hedera Crypto Service.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidaddLiveHash(Transaction request, io.grpc.stub.StreamObserver<TransactionResponse> responseObserver) Deprecated.default voidapproveAllowances(Transaction request, io.grpc.stub.StreamObserver<TransactionResponse> responseObserver) Add one or more approved allowances for spenders to transfer the paying account's hbar or tokens.default voidcreateAccount(Transaction request, io.grpc.stub.StreamObserver<TransactionResponse> responseObserver) Create a new account by submitting the transactiondefault voidcryptoDelete(Transaction request, io.grpc.stub.StreamObserver<TransactionResponse> responseObserver) Delete an account by submitting the transactiondefault voidcryptoGetBalance(Query request, io.grpc.stub.StreamObserver<Response> responseObserver) Retrieve the balance of an accountdefault voidcryptoTransfer(Transaction request, io.grpc.stub.StreamObserver<TransactionResponse> responseObserver) Initiate a transfer by submitting the transactiondefault voiddeleteAllowances(Transaction request, io.grpc.stub.StreamObserver<TransactionResponse> responseObserver) Delete one or more of the specific approved NFT serial numbers on an owner account.default voiddeleteLiveHash(Transaction request, io.grpc.stub.StreamObserver<TransactionResponse> responseObserver) Deprecated.default voidgetAccountInfo(Query request, io.grpc.stub.StreamObserver<Response> responseObserver) Retrieve the metadata of an accountdefault voidgetAccountRecords(Query request, io.grpc.stub.StreamObserver<Response> responseObserver) 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`.default voidgetLiveHash(Query request, io.grpc.stub.StreamObserver<Response> responseObserver) Deprecated.default voidgetTransactionReceipts(Query request, io.grpc.stub.StreamObserver<Response> responseObserver) Retrieve the latest receipt for a transaction that is either awaiting consensus, or reached consensus in the last 180 secondsdefault voidgetTxRecordByTxID(Query request, io.grpc.stub.StreamObserver<Response> responseObserver) Retrieve the record of a transaction that is either awaiting consensus, or reached consensus in the last 180 secondsdefault voidupdateAccount(Transaction request, io.grpc.stub.StreamObserver<TransactionResponse> responseObserver) Update an account by submitting the transaction
-
Method Details
-
createAccount
default void createAccount(Transaction request, io.grpc.stub.StreamObserver<TransactionResponse> responseObserver) Create a new account by submitting the transaction
-
updateAccount
default void updateAccount(Transaction request, io.grpc.stub.StreamObserver<TransactionResponse> responseObserver) Update an account by submitting the transaction
-
cryptoTransfer
default void cryptoTransfer(Transaction request, io.grpc.stub.StreamObserver<TransactionResponse> responseObserver) Initiate a transfer by submitting the transaction
-
cryptoDelete
default void cryptoDelete(Transaction request, io.grpc.stub.StreamObserver<TransactionResponse> responseObserver) Delete an account by submitting the transaction
-
approveAllowances
default void approveAllowances(Transaction request, io.grpc.stub.StreamObserver<TransactionResponse> responseObserver) Add one or more approved allowances for spenders to transfer the paying account's hbar or tokens.
-
deleteAllowances
default void deleteAllowances(Transaction request, io.grpc.stub.StreamObserver<TransactionResponse> responseObserver) Delete one or more of the specific approved NFT serial numbers on an owner account.
-
addLiveHash
@Deprecated default void addLiveHash(Transaction request, io.grpc.stub.StreamObserver<TransactionResponse> responseObserver) 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 default void deleteLiveHash(Transaction request, io.grpc.stub.StreamObserver<TransactionResponse> responseObserver) 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 default void getLiveHash(Query request, io.grpc.stub.StreamObserver<Response> responseObserver) 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
default void getAccountRecords(Query request, io.grpc.stub.StreamObserver<Response> responseObserver) 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
default void cryptoGetBalance(Query request, io.grpc.stub.StreamObserver<Response> responseObserver) Retrieve the balance of an account
-
getAccountInfo
Retrieve the metadata of an account
-
getTransactionReceipts
default void getTransactionReceipts(Query request, io.grpc.stub.StreamObserver<Response> responseObserver) Retrieve the latest receipt for a transaction that is either awaiting consensus, or reached consensus in the last 180 seconds
-
getTxRecordByTxID
default void getTxRecordByTxID(Query request, io.grpc.stub.StreamObserver<Response> responseObserver) Retrieve the record of a transaction that is either awaiting consensus, or reached consensus in the last 180 seconds
-