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 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 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
    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
    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
    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
    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
    void getCurrentGeneration​(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<Generation>> resultHandler)
    Get the current generation
    void getCurrentKeyBlock​(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<KeyBlock>> resultHandler)
    Get the current key block
    void getCurrentKeyBlockHash​(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<HashResponse>> resultHandler)
    Get the hash of the current key block
    void getCurrentKeyBlockHeight​(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<HeightResponse>> resultHandler)
    Get the height of the current key block
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    void getPeerPubkey​(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<PeerPubKey>> resultHandler)
    Get peer public key
    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 getPendingKeyBlock​(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<KeyBlock>> resultHandler)
    Get the pending key block
    void getStatus​(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<Status>> resultHandler)
    Get the status of a node
    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)
    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
    void 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 transaction
    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.
    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

      public ExternalApiImpl​(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 ExternalApi
      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 ExternalApi
      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 ExternalApi
      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 ExternalApi
      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 interface ExternalApi
      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 interface ExternalApi
      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 interface ExternalApi
      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 interface ExternalApi
      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 interface ExternalApi
      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 interface ExternalApi
      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 interface ExternalApi
      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 interface ExternalApi
      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 interface ExternalApi
      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 interface ExternalApi
      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 interface ExternalApi
      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 interface ExternalApi
      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 interface ExternalApi
      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 interface ExternalApi
      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 interface ExternalApi
      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 interface ExternalApi
      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 interface ExternalApi
      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 interface ExternalApi
      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 interface ExternalApi
      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 interface ExternalApi
      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 interface ExternalApi
      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 interface ExternalApi
      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 interface ExternalApi
      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 interface ExternalApi
      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 interface ExternalApi
      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 interface ExternalApi
      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 interface ExternalApi
      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 interface ExternalApi
      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 interface ExternalApi
      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 interface ExternalApi
      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