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 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)
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 transactionvoid
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
-
-
Method Details
-
getApiClient
-
setApiClient
-
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 interfaceTransactionApi
- 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 interfaceTransactionApi
- 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 interfaceTransactionApi
- 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 interfaceTransactionApi
- 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 interfaceTransactionApi
- 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 interfaceTransactionApi
- 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
-