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 Summary
Constructors Constructor Description TransactionApi(TransactionApi delegate)
-
Method Summary
Modifier and Type Method Description TransactionApi
getDelegate()
void
getPendingTransactions(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<SignedTxs>> resultHandler)
Get pending transactionsvoid
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 TransactionApi
newInstance(TransactionApi arg)
void
postPayingFor(PayingForTx payingForTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
Get a paying-for transaction objectvoid
postSpend(SpendTx spendTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
Get a spend transaction objectvoid
postTransaction(EncodedTx encodedTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<PostTxResponse>> resultHandler)
Post a new transactionio.reactivex.Single<SignedTxs>
rxGetPendingTransactions(java.lang.Boolean intAsString)
Get pending transactionsio.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<UnsignedTx>
rxPostPayingFor(PayingForTx payingForTx, java.lang.Boolean intAsString)
Get a paying-for transaction objectio.reactivex.Single<UnsignedTx>
rxPostSpend(SpendTx spendTx, java.lang.Boolean intAsString)
Get a spend transaction objectio.reactivex.Single<PostTxResponse>
rxPostTransaction(EncodedTx encodedTx, java.lang.Boolean intAsString)
Post a new transactionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
TransactionApi
-
-
Method Details
-
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
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
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
-