Class AccountApi
java.lang.Object
com.kryptokrauts.aeternity.generated.api.rxjava.AccountApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-01-10T23:40:09.108255703Z[Etc/UTC]")
public class AccountApi
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description AccountApi(AccountApi delegate)
-
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 keyvoid
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 heightvoid
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 poolAccountApi
getDelegate()
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 keystatic AccountApi
newInstance(AccountApi arg)
io.reactivex.Single<Account>
rxGetAccountByPubkey(java.lang.String pubkey, java.lang.Boolean intAsString)
Get an account by public keyio.reactivex.Single<Account>
rxGetAccountByPubkeyAndHash(java.lang.String pubkey, java.lang.String hash, java.lang.Boolean intAsString)
Get an account by public key after the block indicated by hash.io.reactivex.Single<Account>
rxGetAccountByPubkeyAndHeight(java.lang.String pubkey, java.math.BigInteger height, java.lang.Boolean intAsString)
Get an account by public key after the opening key block of the generation at heightio.reactivex.Single<NextNonceResponse>
rxGetAccountNextNonce(java.lang.String pubkey, java.lang.Boolean intAsString, java.lang.String strategy)
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 poolio.reactivex.Single<SignedTxs>
rxGetPendingAccountTransactionsByPubkey(java.lang.String pubkey, java.lang.Boolean intAsString)
Get pending account transactions by public keyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
AccountApi
-
-
Method Details
-
getDelegate
-
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- 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
-
rxGetAccountByPubkey
public io.reactivex.Single<Account> rxGetAccountByPubkey(java.lang.String pubkey, java.lang.Boolean intAsString)Get an account by public key- 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)- Returns:
- Asynchronous result handler (RxJava Single)
-
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- 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
-
rxGetAccountByPubkeyAndHash
public io.reactivex.Single<Account> rxGetAccountByPubkeyAndHash(java.lang.String pubkey, java.lang.String hash, java.lang.Boolean intAsString)Get an account by public key after the block indicated by hash. Can be either a micro block or a keyblock hash- 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)- Returns:
- Asynchronous result handler (RxJava Single)
-
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- 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
-
rxGetAccountByPubkeyAndHeight
public io.reactivex.Single<Account> rxGetAccountByPubkeyAndHeight(java.lang.String pubkey, java.math.BigInteger height, java.lang.Boolean intAsString)Get an account by public key after the opening key block of the generation at height- 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)- Returns:
- Asynchronous result handler (RxJava Single)
-
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- 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
-
rxGetAccountNextNonce
public io.reactivex.Single<NextNonceResponse> rxGetAccountNextNonce(java.lang.String pubkey, java.lang.Boolean intAsString, java.lang.String strategy)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- 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)- Returns:
- Asynchronous result handler (RxJava Single)
-
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- 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
-
rxGetPendingAccountTransactionsByPubkey
public io.reactivex.Single<SignedTxs> rxGetPendingAccountTransactionsByPubkey(java.lang.String pubkey, java.lang.Boolean intAsString)Get pending account transactions by public key- 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)- Returns:
- Asynchronous result handler (RxJava Single)
-
newInstance
-