Class CryptoServiceGrpc.CryptoServiceBlockingStub

java.lang.Object
io.grpc.stub.AbstractStub<CryptoServiceGrpc.CryptoServiceBlockingStub>
io.grpc.stub.AbstractBlockingStub<CryptoServiceGrpc.CryptoServiceBlockingStub>
com.hedera.hashgraph.sdk.proto.CryptoServiceGrpc.CryptoServiceBlockingStub
Enclosing class:
CryptoServiceGrpc

public static final class CryptoServiceGrpc.CryptoServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<CryptoServiceGrpc.CryptoServiceBlockingStub>
A stub to allow clients to do limited synchronous rpc calls to service CryptoService.

 Transactions and queries for the Hedera Crypto Service.
 
  • Method Details

    • build

      protected CryptoServiceGrpc.CryptoServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<CryptoServiceGrpc.CryptoServiceBlockingStub>
    • createAccount

      public TransactionResponse createAccount(Transaction request)
      
       Create a new account by submitting the transaction
       
    • updateAccount

      public TransactionResponse updateAccount(Transaction request)
      
       Update an account by submitting the transaction
       
    • cryptoTransfer

      public TransactionResponse cryptoTransfer(Transaction request)
      
       Initiate a transfer by submitting the transaction
       
    • cryptoDelete

      public TransactionResponse cryptoDelete(Transaction request)
      
       Delete an account by submitting the transaction
       
    • approveAllowances

      public TransactionResponse approveAllowances(Transaction request)
      
       Add one or more approved allowances for spenders to transfer the paying
       account's hbar or tokens.
       
    • deleteAllowances

      public TransactionResponse deleteAllowances(Transaction request)
      
       Delete one or more of the specific approved NFT serial numbers on an
       owner account.
       
    • addLiveHash

      @Deprecated public 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 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 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 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

      public Response cryptoGetBalance(Query request)
      
       Retrieve the balance of an account
       
    • getAccountInfo

      public Response getAccountInfo(Query request)
      
       Retrieve the metadata of an account
       
    • getTransactionReceipts

      public 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 Response getTxRecordByTxID(Query request)
      
       Retrieve the record of a transaction that is either awaiting consensus,
       or reached consensus in the last 180 seconds