Class TransactionApiImpl

java.lang.Object
com.kryptokrauts.aeternity.generated.api.TransactionApiImpl
All Implemented Interfaces:
TransactionApi

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

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

    Modifier and Type Method Description
    ApiClient getApiClient()  
    void getPendingTransactions​(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<SignedTxs>> resultHandler)
    Get pending transactions
    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 postPayingFor​(PayingForTx payingForTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
    Get a paying-for transaction object
    void postSpend​(SpendTx spendTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
    Get a spend transaction object
    void postTransaction​(EncodedTx encodedTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<PostTxResponse>> resultHandler)
    Post a new transaction
    void setApiClient​(ApiClient apiClient)  

    Methods inherited from class java.lang.Object

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

    • TransactionApiImpl

      public TransactionApiImpl()
    • TransactionApiImpl

      public TransactionApiImpl​(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient​(ApiClient apiClient)
    • getPendingTransactions

      public void getPendingTransactions​(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<SignedTxs>> resultHandler)
      Get pending transactions
      Specified by:
      getPendingTransactions in interface TransactionApi
      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 TransactionApi
      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 TransactionApi
      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
    • postPayingFor

      public void postPayingFor​(PayingForTx payingForTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
      Get a paying-for transaction object
      Specified by:
      postPayingFor in interface TransactionApi
      Parameters:
      payingForTx - A paying-for 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
    • postSpend

      public void postSpend​(SpendTx spendTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
      Get a spend transaction object
      Specified by:
      postSpend in interface TransactionApi
      Parameters:
      spendTx - A spend 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 TransactionApi
      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