Class AccountApiImpl

java.lang.Object
com.kryptokrauts.aeternity.generated.api.AccountApiImpl
All Implemented Interfaces:
AccountApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
           date="2022-01-10T23:40:09.108255703Z[Etc/UTC]")
public class AccountApiImpl
extends java.lang.Object
implements AccountApi
  • Constructor Summary

    Constructors
    Constructor Description
    AccountApiImpl()  
    AccountApiImpl​(ApiClient apiClient)  
  • Method Summary

    Modifier and Type Method Description
    void getAccountByPubkey​(java.lang.String pubkey, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<Account>> resultHandler)
    Get an account by public key
    void getAccountByPubkeyAndHash​(java.lang.String pubkey, java.lang.String hash, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<Account>> resultHandler)
    Get an account by public key after the block indicated by hash.
    void getAccountByPubkeyAndHeight​(java.lang.String pubkey, java.math.BigInteger height, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<Account>> resultHandler)
    Get an account by public key after the opening key block of the generation at height
    void getAccountNextNonce​(java.lang.String pubkey, java.lang.Boolean intAsString, java.lang.String strategy, io.vertx.core.Handler<io.vertx.core.AsyncResult<NextNonceResponse>> resultHandler)
    Get an account's next nonce; This is computed according to whatever is the current account nonce and what transactions are currently present in the transaction pool
    ApiClient getApiClient()  
    void getPendingAccountTransactionsByPubkey​(java.lang.String pubkey, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<SignedTxs>> resultHandler)
    Get pending account transactions by public key
    void setApiClient​(ApiClient apiClient)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AccountApiImpl

      public AccountApiImpl()
    • AccountApiImpl

      public AccountApiImpl​(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient​(ApiClient apiClient)
    • getAccountByPubkey

      public void getAccountByPubkey​(java.lang.String pubkey, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<Account>> resultHandler)
      Get an account by public key
      Specified by:
      getAccountByPubkey in interface AccountApi
      Parameters:
      pubkey - The public key of the account (required)
      intAsString - If this flag is set to true, the response will have all integers set as strings (optional, default to false)
      resultHandler - Asynchronous result handler
    • getAccountByPubkeyAndHash

      public void getAccountByPubkeyAndHash​(java.lang.String pubkey, java.lang.String hash, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<Account>> resultHandler)
      Get an account by public key after the block indicated by hash. Can be either a micro block or a keyblock hash
      Specified by:
      getAccountByPubkeyAndHash in interface AccountApi
      Parameters:
      pubkey - The public key of the account (required)
      hash - The hash of the block - either a keyblock or a microblock (required)
      intAsString - If this flag is set to true, the response will have all integers set as strings (optional, default to false)
      resultHandler - Asynchronous result handler
    • getAccountByPubkeyAndHeight

      public void getAccountByPubkeyAndHeight​(java.lang.String pubkey, java.math.BigInteger height, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<Account>> resultHandler)
      Get an account by public key after the opening key block of the generation at height
      Specified by:
      getAccountByPubkeyAndHeight in interface AccountApi
      Parameters:
      pubkey - The public key of the account (required)
      height - The height (required)
      intAsString - If this flag is set to true, the response will have all integers set as strings (optional, default to false)
      resultHandler - Asynchronous result handler
    • getAccountNextNonce

      public void getAccountNextNonce​(java.lang.String pubkey, java.lang.Boolean intAsString, java.lang.String strategy, io.vertx.core.Handler<io.vertx.core.AsyncResult<NextNonceResponse>> resultHandler)
      Get an account's next nonce; This is computed according to whatever is the current account nonce and what transactions are currently present in the transaction pool
      Specified by:
      getAccountNextNonce in interface AccountApi
      Parameters:
      pubkey - The public key of the account (required)
      intAsString - If this flag is set to true, the response will have all integers set as strings (optional, default to false)
      strategy - What strategy to use in order to determine the next nonce: shall it check for continuity or return the largest nonce seen + 1. If you choose strategy max, then the greatest nonce seen in the account or currently in the transaction pool is incremented with 1 and returned. If you choose the strategy continuity, then transactions in the mempool are checked if there are gaps - missing nonces that prevent transactions with greater nonces to get included. (optional, default to max)
      resultHandler - Asynchronous result handler
    • getPendingAccountTransactionsByPubkey

      public void getPendingAccountTransactionsByPubkey​(java.lang.String pubkey, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<SignedTxs>> resultHandler)
      Get pending account transactions by public key
      Specified by:
      getPendingAccountTransactionsByPubkey in interface AccountApi
      Parameters:
      pubkey - The public key of the account (required)
      intAsString - If this flag is set to true, the response will have all integers set as strings (optional, default to false)
      resultHandler - Asynchronous result handler