Class ExternalApiImpl
java.lang.Object
com.kryptokrauts.aeternity.generated.api.ExternalApiImpl
- All Implemented Interfaces:
ExternalApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-01-10T23:40:09.108255703Z[Etc/UTC]") public class ExternalApiImpl extends java.lang.Object implements ExternalApi
-
Constructor Summary
Constructors Constructor Description ExternalApiImpl()
ExternalApiImpl(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 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 poolApiClient
getApiClient()
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 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 blockvoid
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)
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.void
setApiClient(ApiClient apiClient)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ExternalApiImpl
public ExternalApiImpl() -
ExternalApiImpl
-
-
Method Details
-
getApiClient
-
setApiClient
-
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 interfaceExternalApi
- 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 interfaceExternalApi
- 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 interfaceExternalApi
- 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 interfaceExternalApi
- 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
-
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- Specified by:
getChainEnds
in interfaceExternalApi
- 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
-
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- Specified by:
getChannelByPubkey
in interfaceExternalApi
- 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
-
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- Specified by:
getContract
in interfaceExternalApi
- 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
-
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- Specified by:
getContractCode
in interfaceExternalApi
- 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
-
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- Specified by:
getContractPoI
in interfaceExternalApi
- 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
-
getCurrentGeneration
public void getCurrentGeneration(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<Generation>> resultHandler)Get the current generation- Specified by:
getCurrentGeneration
in interfaceExternalApi
- 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
-
getCurrentKeyBlock
public void getCurrentKeyBlock(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<KeyBlock>> resultHandler)Get the current key block- Specified by:
getCurrentKeyBlock
in interfaceExternalApi
- 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
-
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- Specified by:
getCurrentKeyBlockHash
in interfaceExternalApi
- 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
-
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- Specified by:
getCurrentKeyBlockHeight
in interfaceExternalApi
- 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
-
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- Specified by:
getGenerationByHash
in interfaceExternalApi
- 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
-
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- Specified by:
getGenerationByHeight
in interfaceExternalApi
- 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
-
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- Specified by:
getKeyBlockByHash
in interfaceExternalApi
- 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
-
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- Specified by:
getKeyBlockByHeight
in interfaceExternalApi
- 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
-
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- Specified by:
getMicroBlockHeaderByHash
in interfaceExternalApi
- 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
-
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- Specified by:
getMicroBlockTransactionByHashAndIndex
in interfaceExternalApi
- 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
-
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- Specified by:
getMicroBlockTransactionsByHash
in interfaceExternalApi
- 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
-
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- Specified by:
getMicroBlockTransactionsCountByHash
in interfaceExternalApi
- 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
-
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- Specified by:
getNameEntryByName
in interfaceExternalApi
- 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
-
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- Specified by:
getOracleByPubkey
in interfaceExternalApi
- 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
-
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- Specified by:
getOracleQueriesByPubkey
in interfaceExternalApi
- 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
-
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- Specified by:
getOracleQueryByPubkeyAndQueryId
in interfaceExternalApi
- 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
-
getPeerPubkey
public void getPeerPubkey(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<PeerPubKey>> resultHandler)Get peer public key- Specified by:
getPeerPubkey
in interfaceExternalApi
- 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
-
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 interfaceExternalApi
- 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
-
getPendingKeyBlock
public void getPendingKeyBlock(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<KeyBlock>> resultHandler)Get the pending key block- Specified by:
getPendingKeyBlock
in interfaceExternalApi
- 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
-
getStatus
public void getStatus(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<Status>> resultHandler)Get the status of a node- Specified by:
getStatus
in interfaceExternalApi
- 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
-
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)- Specified by:
getTopHeader
in interfaceExternalApi
- 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
-
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- Specified by:
getTransactionByHash
in interfaceExternalApi
- 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
-
getTransactionInfoByHash
public void getTransactionInfoByHash(java.lang.String hash, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<TxInfoObject>> resultHandler)- Specified by:
getTransactionInfoByHash
in interfaceExternalApi
- 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
-
postTransaction
public void postTransaction(EncodedTx encodedTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<PostTxResponse>> resultHandler)Post a new transaction- Specified by:
postTransaction
in interfaceExternalApi
- 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
-
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.- Specified by:
protectedDryRunTxs
in interfaceExternalApi
- 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
-