Class TransactionApi

java.lang.Object
com.kryptokrauts.aeternity.generated.api.rxjava.TransactionApi

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

  • Method Details

    • getDelegate

      public TransactionApi getDelegate()
    • getPendingTransactions

      public void getPendingTransactions​(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<SignedTxs>> resultHandler)
      Get pending transactions
      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
    • rxGetPendingTransactions

      public io.reactivex.Single<SignedTxs> rxGetPendingTransactions​(java.lang.Boolean intAsString)
      Get pending transactions
      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)
    • 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
      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
    • rxPostPayingFor

      public io.reactivex.Single<UnsignedTx> rxPostPayingFor​(PayingForTx payingForTx, java.lang.Boolean intAsString)
      Get a paying-for transaction object
      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)
      Returns:
      Asynchronous result handler (RxJava Single)
    • 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
      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
    • rxPostSpend

      public io.reactivex.Single<UnsignedTx> rxPostSpend​(SpendTx spendTx, java.lang.Boolean intAsString)
      Get a spend transaction object
      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)
      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)
    • newInstance

      public static TransactionApi newInstance​(TransactionApi arg)