Class ExternalApi
java.lang.Object
com.kryptokrauts.aeternity.generated.api.rxjava.ExternalApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-01-10T23:40:09.108255703Z[Etc/UTC]")
public class ExternalApi
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description ExternalApi(ExternalApi 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 poolvoid
getChainEnds(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<java.lang.String>>> resultHandler)
Get oldest keyblock hashes counting from genesis including orphansvoid
getChannelByPubkey(java.lang.String pubkey, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<Channel>> resultHandler)
Get channel by public keyvoid
getContract(java.lang.String pubkey, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<ContractObject>> resultHandler)
Get a contract by pubkeyvoid
getContractCode(java.lang.String pubkey, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<ByteCode>> resultHandler)
Get contract code by pubkeyvoid
getContractPoI(java.lang.String pubkey, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<PoI>> resultHandler)
Get a proof of inclusion for a contractvoid
getCurrentGeneration(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<Generation>> resultHandler)
Get the current generationvoid
getCurrentKeyBlock(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<KeyBlock>> resultHandler)
Get the current key blockvoid
getCurrentKeyBlockHash(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<HashResponse>> resultHandler)
Get the hash of the current key blockvoid
getCurrentKeyBlockHeight(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<HeightResponse>> resultHandler)
Get the height of the current key blockExternalApi
getDelegate()
void
getGenerationByHash(java.lang.String hash, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<Generation>> resultHandler)
Get a generation by hashvoid
getGenerationByHeight(java.math.BigInteger height, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<Generation>> resultHandler)
Get a generation by heightvoid
getKeyBlockByHash(java.lang.String hash, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<KeyBlock>> resultHandler)
Get a key block by hashvoid
getKeyBlockByHeight(java.math.BigInteger height, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<KeyBlock>> resultHandler)
Get a key block by heightvoid
getMicroBlockHeaderByHash(java.lang.String hash, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<MicroBlockHeader>> resultHandler)
Get a micro block header by hashvoid
getMicroBlockTransactionByHashAndIndex(java.lang.String hash, java.math.BigInteger index, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<SignedTx>> resultHandler)
Get a micro block transaction by hash and indexvoid
getMicroBlockTransactionsByHash(java.lang.String hash, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<SignedTxs>> resultHandler)
Get micro block transactions by hashvoid
getMicroBlockTransactionsCountByHash(java.lang.String hash, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<CountResponse>> resultHandler)
Get micro block transaction count by hashvoid
getNameEntryByName(java.lang.String name, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<NameEntry>> resultHandler)
Get name entry from naming systemvoid
getOracleByPubkey(java.lang.String pubkey, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<RegisteredOracle>> resultHandler)
Get an oracle by public keyvoid
getOracleQueriesByPubkey(java.lang.String pubkey, java.lang.Boolean intAsString, java.lang.String from, java.math.BigInteger limit, java.lang.String type, io.vertx.core.Handler<io.vertx.core.AsyncResult<OracleQueries>> resultHandler)
Get oracle queries by public keyvoid
getOracleQueryByPubkeyAndQueryId(java.lang.String pubkey, java.lang.String queryId, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<OracleQuery>> resultHandler)
Get an oracle query by public key and query IDvoid
getPeerPubkey(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<PeerPubKey>> resultHandler)
Get peer public keyvoid
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 keyvoid
getPendingKeyBlock(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<KeyBlock>> resultHandler)
Get the pending key blockvoid
getStatus(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<Status>> resultHandler)
Get the status of a nodevoid
getTopHeader(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<Header>> resultHandler)
Get the top header (either key or micro block)void
getTransactionByHash(java.lang.String hash, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<SignedTx>> resultHandler)
Get a transaction by hashvoid
getTransactionInfoByHash(java.lang.String hash, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<TxInfoObject>> resultHandler)
static ExternalApi
newInstance(ExternalApi arg)
void
postTransaction(EncodedTx encodedTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<PostTxResponse>> resultHandler)
Post a new transactionvoid
protectedDryRunTxs(DryRunInput dryRunInput, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<DryRunResults>> resultHandler)
Dry-run transactions on top of a given block.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<java.util.List<java.lang.String>>
rxGetChainEnds(java.lang.Boolean intAsString)
Get oldest keyblock hashes counting from genesis including orphansio.reactivex.Single<Channel>
rxGetChannelByPubkey(java.lang.String pubkey, java.lang.Boolean intAsString)
Get channel by public keyio.reactivex.Single<ContractObject>
rxGetContract(java.lang.String pubkey, java.lang.Boolean intAsString)
Get a contract by pubkeyio.reactivex.Single<ByteCode>
rxGetContractCode(java.lang.String pubkey, java.lang.Boolean intAsString)
Get contract code by pubkeyio.reactivex.Single<PoI>
rxGetContractPoI(java.lang.String pubkey, java.lang.Boolean intAsString)
Get a proof of inclusion for a contractio.reactivex.Single<Generation>
rxGetCurrentGeneration(java.lang.Boolean intAsString)
Get the current generationio.reactivex.Single<KeyBlock>
rxGetCurrentKeyBlock(java.lang.Boolean intAsString)
Get the current key blockio.reactivex.Single<HashResponse>
rxGetCurrentKeyBlockHash(java.lang.Boolean intAsString)
Get the hash of the current key blockio.reactivex.Single<HeightResponse>
rxGetCurrentKeyBlockHeight(java.lang.Boolean intAsString)
Get the height of the current key blockio.reactivex.Single<Generation>
rxGetGenerationByHash(java.lang.String hash, java.lang.Boolean intAsString)
Get a generation by hashio.reactivex.Single<Generation>
rxGetGenerationByHeight(java.math.BigInteger height, java.lang.Boolean intAsString)
Get a generation by heightio.reactivex.Single<KeyBlock>
rxGetKeyBlockByHash(java.lang.String hash, java.lang.Boolean intAsString)
Get a key block by hashio.reactivex.Single<KeyBlock>
rxGetKeyBlockByHeight(java.math.BigInteger height, java.lang.Boolean intAsString)
Get a key block by heightio.reactivex.Single<MicroBlockHeader>
rxGetMicroBlockHeaderByHash(java.lang.String hash, java.lang.Boolean intAsString)
Get a micro block header by hashio.reactivex.Single<SignedTx>
rxGetMicroBlockTransactionByHashAndIndex(java.lang.String hash, java.math.BigInteger index, java.lang.Boolean intAsString)
Get a micro block transaction by hash and indexio.reactivex.Single<SignedTxs>
rxGetMicroBlockTransactionsByHash(java.lang.String hash, java.lang.Boolean intAsString)
Get micro block transactions by hashio.reactivex.Single<CountResponse>
rxGetMicroBlockTransactionsCountByHash(java.lang.String hash, java.lang.Boolean intAsString)
Get micro block transaction count by hashio.reactivex.Single<NameEntry>
rxGetNameEntryByName(java.lang.String name, java.lang.Boolean intAsString)
Get name entry from naming systemio.reactivex.Single<RegisteredOracle>
rxGetOracleByPubkey(java.lang.String pubkey, java.lang.Boolean intAsString)
Get an oracle by public keyio.reactivex.Single<OracleQueries>
rxGetOracleQueriesByPubkey(java.lang.String pubkey, java.lang.Boolean intAsString, java.lang.String from, java.math.BigInteger limit, java.lang.String type)
Get oracle queries by public keyio.reactivex.Single<OracleQuery>
rxGetOracleQueryByPubkeyAndQueryId(java.lang.String pubkey, java.lang.String queryId, java.lang.Boolean intAsString)
Get an oracle query by public key and query IDio.reactivex.Single<PeerPubKey>
rxGetPeerPubkey(java.lang.Boolean intAsString)
Get peer public keyio.reactivex.Single<SignedTxs>
rxGetPendingAccountTransactionsByPubkey(java.lang.String pubkey, java.lang.Boolean intAsString)
Get pending account transactions by public keyio.reactivex.Single<KeyBlock>
rxGetPendingKeyBlock(java.lang.Boolean intAsString)
Get the pending key blockio.reactivex.Single<Status>
rxGetStatus(java.lang.Boolean intAsString)
Get the status of a nodeio.reactivex.Single<Header>
rxGetTopHeader(java.lang.Boolean intAsString)
Get the top header (either key or micro block)io.reactivex.Single<SignedTx>
rxGetTransactionByHash(java.lang.String hash, java.lang.Boolean intAsString)
Get a transaction by hashio.reactivex.Single<TxInfoObject>
rxGetTransactionInfoByHash(java.lang.String hash, java.lang.Boolean intAsString)
io.reactivex.Single<PostTxResponse>
rxPostTransaction(EncodedTx encodedTx, java.lang.Boolean intAsString)
Post a new transactionio.reactivex.Single<DryRunResults>
rxProtectedDryRunTxs(DryRunInput dryRunInput, java.lang.Boolean intAsString)
Dry-run transactions on top of a given block.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ExternalApi
-
-
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)
-
getChainEnds
public void getChainEnds(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<java.lang.String>>> resultHandler)Get oldest keyblock hashes counting from genesis including orphans- Parameters:
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
-
rxGetChainEnds
public io.reactivex.Single<java.util.List<java.lang.String>> rxGetChainEnds(java.lang.Boolean intAsString)Get oldest keyblock hashes counting from genesis including orphans- Parameters:
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)
-
getChannelByPubkey
public void getChannelByPubkey(java.lang.String pubkey, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<Channel>> resultHandler)Get channel by public key- Parameters:
pubkey
- The pubkey of the channel (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
-
rxGetChannelByPubkey
public io.reactivex.Single<Channel> rxGetChannelByPubkey(java.lang.String pubkey, java.lang.Boolean intAsString)Get channel by public key- Parameters:
pubkey
- The pubkey of the channel (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)
-
getContract
public void getContract(java.lang.String pubkey, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<ContractObject>> resultHandler)Get a contract by pubkey- Parameters:
pubkey
- Contract pubkey to get proof for (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
-
rxGetContract
public io.reactivex.Single<ContractObject> rxGetContract(java.lang.String pubkey, java.lang.Boolean intAsString)Get a contract by pubkey- Parameters:
pubkey
- Contract pubkey to get proof for (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)
-
getContractCode
public void getContractCode(java.lang.String pubkey, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<ByteCode>> resultHandler)Get contract code by pubkey- Parameters:
pubkey
- Contract pubkey to get proof for (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
-
rxGetContractCode
public io.reactivex.Single<ByteCode> rxGetContractCode(java.lang.String pubkey, java.lang.Boolean intAsString)Get contract code by pubkey- Parameters:
pubkey
- Contract pubkey to get proof for (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)
-
getContractPoI
public void getContractPoI(java.lang.String pubkey, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<PoI>> resultHandler)Get a proof of inclusion for a contract- Parameters:
pubkey
- Contract pubkey to get proof for (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
-
rxGetContractPoI
public io.reactivex.Single<PoI> rxGetContractPoI(java.lang.String pubkey, java.lang.Boolean intAsString)Get a proof of inclusion for a contract- Parameters:
pubkey
- Contract pubkey to get proof for (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)
-
getCurrentGeneration
public void getCurrentGeneration(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<Generation>> resultHandler)Get the current generation- Parameters:
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
-
rxGetCurrentGeneration
Get the current generation- Parameters:
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)
-
getCurrentKeyBlock
public void getCurrentKeyBlock(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<KeyBlock>> resultHandler)Get the current key block- Parameters:
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
-
rxGetCurrentKeyBlock
Get the current key block- Parameters:
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)
-
getCurrentKeyBlockHash
public void getCurrentKeyBlockHash(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<HashResponse>> resultHandler)Get the hash of the current key block- Parameters:
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
-
rxGetCurrentKeyBlockHash
Get the hash of the current key block- Parameters:
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)
-
getCurrentKeyBlockHeight
public void getCurrentKeyBlockHeight(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<HeightResponse>> resultHandler)Get the height of the current key block- Parameters:
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
-
rxGetCurrentKeyBlockHeight
public io.reactivex.Single<HeightResponse> rxGetCurrentKeyBlockHeight(java.lang.Boolean intAsString)Get the height of the current key block- Parameters:
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)
-
getGenerationByHash
public void getGenerationByHash(java.lang.String hash, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<Generation>> resultHandler)Get a generation by hash- Parameters:
hash
- The hash of the key block (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
-
rxGetGenerationByHash
public io.reactivex.Single<Generation> rxGetGenerationByHash(java.lang.String hash, java.lang.Boolean intAsString)Get a generation by hash- Parameters:
hash
- The hash of the key block (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)
-
getGenerationByHeight
public void getGenerationByHeight(java.math.BigInteger height, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<Generation>> resultHandler)Get a generation by height- Parameters:
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
-
rxGetGenerationByHeight
public io.reactivex.Single<Generation> rxGetGenerationByHeight(java.math.BigInteger height, java.lang.Boolean intAsString)Get a generation by height- Parameters:
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)
-
getKeyBlockByHash
public void getKeyBlockByHash(java.lang.String hash, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<KeyBlock>> resultHandler)Get a key block by hash- Parameters:
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
-
rxGetKeyBlockByHash
public io.reactivex.Single<KeyBlock> rxGetKeyBlockByHash(java.lang.String hash, java.lang.Boolean intAsString)Get a key block by hash- Parameters:
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)
-
getKeyBlockByHeight
public void getKeyBlockByHeight(java.math.BigInteger height, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<KeyBlock>> resultHandler)Get a key block by height- Parameters:
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
-
rxGetKeyBlockByHeight
public io.reactivex.Single<KeyBlock> rxGetKeyBlockByHeight(java.math.BigInteger height, java.lang.Boolean intAsString)Get a key block by height- Parameters:
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)
-
getMicroBlockHeaderByHash
public void getMicroBlockHeaderByHash(java.lang.String hash, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<MicroBlockHeader>> resultHandler)Get a micro block header by hash- Parameters:
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
-
rxGetMicroBlockHeaderByHash
public io.reactivex.Single<MicroBlockHeader> rxGetMicroBlockHeaderByHash(java.lang.String hash, java.lang.Boolean intAsString)Get a micro block header by hash- Parameters:
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)
-
getMicroBlockTransactionByHashAndIndex
public void getMicroBlockTransactionByHashAndIndex(java.lang.String hash, java.math.BigInteger index, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<SignedTx>> resultHandler)Get a micro block transaction by hash and index- Parameters:
hash
- The hash of the micro block (required)index
- The index of the transaction in a block (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
-
rxGetMicroBlockTransactionByHashAndIndex
public io.reactivex.Single<SignedTx> rxGetMicroBlockTransactionByHashAndIndex(java.lang.String hash, java.math.BigInteger index, java.lang.Boolean intAsString)Get a micro block transaction by hash and index- Parameters:
hash
- The hash of the micro block (required)index
- The index of the transaction in a block (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)
-
getMicroBlockTransactionsByHash
public void getMicroBlockTransactionsByHash(java.lang.String hash, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<SignedTxs>> resultHandler)Get micro block transactions by hash- Parameters:
hash
- The hash of the micro block (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
-
rxGetMicroBlockTransactionsByHash
public io.reactivex.Single<SignedTxs> rxGetMicroBlockTransactionsByHash(java.lang.String hash, java.lang.Boolean intAsString)Get micro block transactions by hash- Parameters:
hash
- The hash of the micro block (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)
-
getMicroBlockTransactionsCountByHash
public void getMicroBlockTransactionsCountByHash(java.lang.String hash, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<CountResponse>> resultHandler)Get micro block transaction count by hash- Parameters:
hash
- The hash of the micro block (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
-
rxGetMicroBlockTransactionsCountByHash
public io.reactivex.Single<CountResponse> rxGetMicroBlockTransactionsCountByHash(java.lang.String hash, java.lang.Boolean intAsString)Get micro block transaction count by hash- Parameters:
hash
- The hash of the micro block (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)
-
getNameEntryByName
public void getNameEntryByName(java.lang.String name, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<NameEntry>> resultHandler)Get name entry from naming system- Parameters:
name
- The name key of the name entry (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
-
rxGetNameEntryByName
public io.reactivex.Single<NameEntry> rxGetNameEntryByName(java.lang.String name, java.lang.Boolean intAsString)Get name entry from naming system- Parameters:
name
- The name key of the name entry (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)
-
getOracleByPubkey
public void getOracleByPubkey(java.lang.String pubkey, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<RegisteredOracle>> resultHandler)Get an oracle by public key- Parameters:
pubkey
- The public key of the oracle (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
-
rxGetOracleByPubkey
public io.reactivex.Single<RegisteredOracle> rxGetOracleByPubkey(java.lang.String pubkey, java.lang.Boolean intAsString)Get an oracle by public key- Parameters:
pubkey
- The public key of the oracle (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)
-
getOracleQueriesByPubkey
public void getOracleQueriesByPubkey(java.lang.String pubkey, java.lang.Boolean intAsString, java.lang.String from, java.math.BigInteger limit, java.lang.String type, io.vertx.core.Handler<io.vertx.core.AsyncResult<OracleQueries>> resultHandler)Get oracle queries by public key- Parameters:
pubkey
- The public key of the oracle (required)intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)from
- Last query id in previous page (optional)limit
- Max number of oracle queries (optional, default to 20)type
- The type of a query: open, closed or all (optional, default to all)resultHandler
- Asynchronous result handler
-
rxGetOracleQueriesByPubkey
public io.reactivex.Single<OracleQueries> rxGetOracleQueriesByPubkey(java.lang.String pubkey, java.lang.Boolean intAsString, java.lang.String from, java.math.BigInteger limit, java.lang.String type)Get oracle queries by public key- Parameters:
pubkey
- The public key of the oracle (required)intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)from
- Last query id in previous page (optional)limit
- Max number of oracle queries (optional, default to 20)type
- The type of a query: open, closed or all (optional, default to all)- Returns:
- Asynchronous result handler (RxJava Single)
-
getOracleQueryByPubkeyAndQueryId
public void getOracleQueryByPubkeyAndQueryId(java.lang.String pubkey, java.lang.String queryId, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<OracleQuery>> resultHandler)Get an oracle query by public key and query ID- Parameters:
pubkey
- The public key of the oracle (required)queryId
- The ID of the query (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
-
rxGetOracleQueryByPubkeyAndQueryId
public io.reactivex.Single<OracleQuery> rxGetOracleQueryByPubkeyAndQueryId(java.lang.String pubkey, java.lang.String queryId, java.lang.Boolean intAsString)Get an oracle query by public key and query ID- Parameters:
pubkey
- The public key of the oracle (required)queryId
- The ID of the query (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)
-
getPeerPubkey
public void getPeerPubkey(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<PeerPubKey>> resultHandler)Get peer public key- Parameters:
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
-
rxGetPeerPubkey
Get peer public key- Parameters:
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)
-
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)
-
getPendingKeyBlock
public void getPendingKeyBlock(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<KeyBlock>> resultHandler)Get the pending key block- Parameters:
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
-
rxGetPendingKeyBlock
Get the pending key block- Parameters:
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)
-
getStatus
public void getStatus(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<Status>> resultHandler)Get the status of a node- Parameters:
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
-
rxGetStatus
Get the status of a node- Parameters:
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)
-
getTopHeader
public void getTopHeader(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<Header>> resultHandler)Get the top header (either key or micro block)- Parameters:
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
-
rxGetTopHeader
Get the top header (either key or micro block)- Parameters:
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)
-
getTransactionByHash
public void getTransactionByHash(java.lang.String hash, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<SignedTx>> resultHandler)Get a transaction by hash- Parameters:
hash
- The hash of the transaction (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
-
rxGetTransactionByHash
public io.reactivex.Single<SignedTx> rxGetTransactionByHash(java.lang.String hash, java.lang.Boolean intAsString)Get a transaction by hash- Parameters:
hash
- The hash of the transaction (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)
-
getTransactionInfoByHash
public void getTransactionInfoByHash(java.lang.String hash, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<TxInfoObject>> resultHandler)- Parameters:
hash
- The hash of the transaction (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
-
rxGetTransactionInfoByHash
public io.reactivex.Single<TxInfoObject> rxGetTransactionInfoByHash(java.lang.String hash, java.lang.Boolean intAsString)- Parameters:
hash
- The hash of the transaction (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)
-
postTransaction
public void postTransaction(EncodedTx encodedTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<PostTxResponse>> resultHandler)Post a new transaction- Parameters:
encodedTx
- The new transaction (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
-
rxPostTransaction
public io.reactivex.Single<PostTxResponse> rxPostTransaction(EncodedTx encodedTx, java.lang.Boolean intAsString)Post a new transaction- Parameters:
encodedTx
- The new transaction (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)
-
protectedDryRunTxs
public void protectedDryRunTxs(DryRunInput dryRunInput, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<DryRunResults>> resultHandler)Dry-run transactions on top of a given block. Supports all TXs except GAMetaTx, PayingForTx and OffchainTx. The maximum gas limit of all calls is capped. The maximum gas limit per request is a global node setting. Since DryRunCallReq object do not have a mandatory gas field, if not set a default value of 1000000 is being used instead.- Parameters:
dryRunInput
- transactions (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
-
rxProtectedDryRunTxs
public io.reactivex.Single<DryRunResults> rxProtectedDryRunTxs(DryRunInput dryRunInput, java.lang.Boolean intAsString)Dry-run transactions on top of a given block. Supports all TXs except GAMetaTx, PayingForTx and OffchainTx. The maximum gas limit of all calls is capped. The maximum gas limit per request is a global node setting. Since DryRunCallReq object do not have a mandatory gas field, if not set a default value of 1000000 is being used instead.- Parameters:
dryRunInput
- transactions (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
-