@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2020-09-25T14:18:23.319Z[UTC]")
public class TransactionRoutesApiImpl
extends java.lang.Object
implements TransactionRoutesApi
| Constructor and Description |
|---|
TransactionRoutesApiImpl() |
TransactionRoutesApiImpl(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
announceCosignatureTransaction(Cosignature cosignature,
io.vertx.core.Handler<io.vertx.core.AsyncResult<AnnounceTransactionInfoDTO>> resultHandler)
Announce a cosignature transaction
Announces a cosignature transaction to the network.
|
void |
announcePartialTransaction(TransactionPayload transactionPayload,
io.vertx.core.Handler<io.vertx.core.AsyncResult<AnnounceTransactionInfoDTO>> resultHandler)
Announce an aggregate bonded transaction
Announces an aggregate bonded transaction to the network.
|
void |
announceTransaction(TransactionPayload transactionPayload,
io.vertx.core.Handler<io.vertx.core.AsyncResult<AnnounceTransactionInfoDTO>> resultHandler)
Announce a new transaction
Announces a transaction to the network.
|
ApiClient |
getApiClient() |
void |
getConfirmedTransaction(java.lang.String transactionId,
io.vertx.core.Handler<io.vertx.core.AsyncResult<TransactionInfoDTO>> resultHandler)
Get confirmed transaction information
Returns confirmed transaction information given a transactionId or hash.
|
void |
getConfirmedTransactions(TransactionIds transactionIds,
io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<TransactionInfoDTO>>> resultHandler)
Get confirmed trasactions information
Returns confirmed transactions information for a given array of transactionIds.
|
void |
getPartialTransaction(java.lang.String transactionId,
io.vertx.core.Handler<io.vertx.core.AsyncResult<TransactionInfoDTO>> resultHandler)
Get partial transaction information
Returns partial transaction information given a transactionId or hash.
|
void |
getPartialTransactions(TransactionIds transactionIds,
io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<TransactionInfoDTO>>> resultHandler)
Get partial trasactions information
Returns partial transactions information for a given array of transactionIds.
|
void |
getUnconfirmedTransaction(java.lang.String transactionId,
io.vertx.core.Handler<io.vertx.core.AsyncResult<TransactionInfoDTO>> resultHandler)
Get unconfirmed transaction information
Returns unconfirmed transaction information given a transactionId or hash.
|
void |
getUnconfirmedTransactions(TransactionIds transactionIds,
io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<TransactionInfoDTO>>> resultHandler)
Get unconfirmed trasactions information
Returns unconfirmed transactions information for a given array of transactionIds.
|
void |
searchConfirmedTransactions(java.lang.String address,
java.lang.String recipientAddress,
java.lang.String signerPublicKey,
java.math.BigInteger height,
java.math.BigInteger fromHeight,
java.math.BigInteger toHeight,
java.util.List<TransactionTypeEnum> type,
java.lang.Boolean embedded,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.lang.String offset,
Order order,
io.vertx.core.Handler<io.vertx.core.AsyncResult<TransactionPage>> resultHandler)
Search confirmed transactions
Returns an array of confirmed transactions.
|
void |
searchPartialTransactions(java.lang.String address,
java.lang.String recipientAddress,
java.lang.String signerPublicKey,
java.math.BigInteger height,
java.math.BigInteger fromHeight,
java.math.BigInteger toHeight,
java.util.List<TransactionTypeEnum> type,
java.lang.Boolean embedded,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.lang.String offset,
Order order,
io.vertx.core.Handler<io.vertx.core.AsyncResult<TransactionPage>> resultHandler)
Search partial transactions
Returns an array of partial transactions.
|
void |
searchUnconfirmedTransactions(java.lang.String address,
java.lang.String recipientAddress,
java.lang.String signerPublicKey,
java.math.BigInteger height,
java.math.BigInteger fromHeight,
java.math.BigInteger toHeight,
java.util.List<TransactionTypeEnum> type,
java.lang.Boolean embedded,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.lang.String offset,
Order order,
io.vertx.core.Handler<io.vertx.core.AsyncResult<TransactionPage>> resultHandler)
Search unconfirmed transactions
Returns an array of unconfirmed transactions.
|
void |
setApiClient(ApiClient apiClient) |
public TransactionRoutesApiImpl()
public TransactionRoutesApiImpl(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public void announceCosignatureTransaction(Cosignature cosignature, io.vertx.core.Handler<io.vertx.core.AsyncResult<AnnounceTransactionInfoDTO>> resultHandler)
announceCosignatureTransaction in interface TransactionRoutesApicosignature - (required)resultHandler - Asynchronous result handlerpublic void announcePartialTransaction(TransactionPayload transactionPayload, io.vertx.core.Handler<io.vertx.core.AsyncResult<AnnounceTransactionInfoDTO>> resultHandler)
announcePartialTransaction in interface TransactionRoutesApitransactionPayload - (required)resultHandler - Asynchronous result handlerpublic void announceTransaction(TransactionPayload transactionPayload, io.vertx.core.Handler<io.vertx.core.AsyncResult<AnnounceTransactionInfoDTO>> resultHandler)
announceTransaction in interface TransactionRoutesApitransactionPayload - (required)resultHandler - Asynchronous result handlerpublic void getConfirmedTransaction(java.lang.String transactionId,
io.vertx.core.Handler<io.vertx.core.AsyncResult<TransactionInfoDTO>> resultHandler)
getConfirmedTransaction in interface TransactionRoutesApitransactionId - Transaction id or hash. (required)resultHandler - Asynchronous result handlerpublic void getConfirmedTransactions(TransactionIds transactionIds, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<TransactionInfoDTO>>> resultHandler)
getConfirmedTransactions in interface TransactionRoutesApitransactionIds - (required)resultHandler - Asynchronous result handlerpublic void getPartialTransaction(java.lang.String transactionId,
io.vertx.core.Handler<io.vertx.core.AsyncResult<TransactionInfoDTO>> resultHandler)
getPartialTransaction in interface TransactionRoutesApitransactionId - Transaction id or hash. (required)resultHandler - Asynchronous result handlerpublic void getPartialTransactions(TransactionIds transactionIds, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<TransactionInfoDTO>>> resultHandler)
getPartialTransactions in interface TransactionRoutesApitransactionIds - (required)resultHandler - Asynchronous result handlerpublic void getUnconfirmedTransaction(java.lang.String transactionId,
io.vertx.core.Handler<io.vertx.core.AsyncResult<TransactionInfoDTO>> resultHandler)
getUnconfirmedTransaction in interface TransactionRoutesApitransactionId - Transaction id or hash. (required)resultHandler - Asynchronous result handlerpublic void getUnconfirmedTransactions(TransactionIds transactionIds, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<TransactionInfoDTO>>> resultHandler)
getUnconfirmedTransactions in interface TransactionRoutesApitransactionIds - (required)resultHandler - Asynchronous result handlerpublic void searchConfirmedTransactions(java.lang.String address,
java.lang.String recipientAddress,
java.lang.String signerPublicKey,
java.math.BigInteger height,
java.math.BigInteger fromHeight,
java.math.BigInteger toHeight,
java.util.List<TransactionTypeEnum> type,
java.lang.Boolean embedded,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.lang.String offset,
Order order,
io.vertx.core.Handler<io.vertx.core.AsyncResult<TransactionPage>> resultHandler)
searchConfirmedTransactions in interface TransactionRoutesApiaddress - Filter by address involved in the transaction. An account's address is considered to be involved in the transaction when the account is the sender, recipient, or it is required to cosign the transaction. This filter cannot be combined with ``recipientAddress`` and ``signerPublicKey`` query params. (optional)recipientAddress - Filter by address of the account receiving the transaction. (optional)signerPublicKey - Filter by public key of the account signing the entity. (optional)height - Filter by block height. (optional, default to null)fromHeight - Only blocks with height greater or equal than this one are returned. (optional, default to null)toHeight - Only blocks with height smaller or equal than this one are returned. (optional, default to null)type - Filter by transaction type. To filter by multiple transaction types, add more filter query params like: ``type=16974&type=16718``. (optional, default to new ArrayList<>())embedded - When true, the endpoint also returns all the embedded aggregate transactions. Otherwise, only top-level transactions used to calculate the block transactionsHash are returned. (optional, default to false)pageSize - Select the number of entries to return. (optional, default to 10)pageNumber - Filter by page number. (optional, default to 1)offset - Entry id at which to start pagination. If the ordering parameter is set to -id, the elements returned precede the identifier. Otherwise, newer elements with respect to the id are returned. (optional)order - Sort responses in ascending or descending order based on the collection property set on the param ``orderBy``. If the request does not specify ``orderBy``, REST returns the collection ordered by id. (optional, default to desc)resultHandler - Asynchronous result handlerpublic void searchPartialTransactions(java.lang.String address,
java.lang.String recipientAddress,
java.lang.String signerPublicKey,
java.math.BigInteger height,
java.math.BigInteger fromHeight,
java.math.BigInteger toHeight,
java.util.List<TransactionTypeEnum> type,
java.lang.Boolean embedded,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.lang.String offset,
Order order,
io.vertx.core.Handler<io.vertx.core.AsyncResult<TransactionPage>> resultHandler)
searchPartialTransactions in interface TransactionRoutesApiaddress - Filter by address involved in the transaction. An account's address is considered to be involved in the transaction when the account is the sender, recipient, or it is required to cosign the transaction. This filter cannot be combined with ``recipientAddress`` and ``signerPublicKey`` query params. (optional)recipientAddress - Filter by address of the account receiving the transaction. (optional)signerPublicKey - Filter by public key of the account signing the entity. (optional)height - Filter by block height. (optional, default to null)fromHeight - Only blocks with height greater or equal than this one are returned. (optional, default to null)toHeight - Only blocks with height smaller or equal than this one are returned. (optional, default to null)type - Filter by transaction type. To filter by multiple transaction types, add more filter query params like: ``type=16974&type=16718``. (optional, default to new ArrayList<>())embedded - When true, the endpoint also returns all the embedded aggregate transactions. Otherwise, only top-level transactions used to calculate the block transactionsHash are returned. (optional, default to false)pageSize - Select the number of entries to return. (optional, default to 10)pageNumber - Filter by page number. (optional, default to 1)offset - Entry id at which to start pagination. If the ordering parameter is set to -id, the elements returned precede the identifier. Otherwise, newer elements with respect to the id are returned. (optional)order - Sort responses in ascending or descending order based on the collection property set on the param ``orderBy``. If the request does not specify ``orderBy``, REST returns the collection ordered by id. (optional, default to desc)resultHandler - Asynchronous result handlerpublic void searchUnconfirmedTransactions(java.lang.String address,
java.lang.String recipientAddress,
java.lang.String signerPublicKey,
java.math.BigInteger height,
java.math.BigInteger fromHeight,
java.math.BigInteger toHeight,
java.util.List<TransactionTypeEnum> type,
java.lang.Boolean embedded,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.lang.String offset,
Order order,
io.vertx.core.Handler<io.vertx.core.AsyncResult<TransactionPage>> resultHandler)
searchUnconfirmedTransactions in interface TransactionRoutesApiaddress - Filter by address involved in the transaction. An account's address is considered to be involved in the transaction when the account is the sender, recipient, or it is required to cosign the transaction. This filter cannot be combined with ``recipientAddress`` and ``signerPublicKey`` query params. (optional)recipientAddress - Filter by address of the account receiving the transaction. (optional)signerPublicKey - Filter by public key of the account signing the entity. (optional)height - Filter by block height. (optional, default to null)fromHeight - Only blocks with height greater or equal than this one are returned. (optional, default to null)toHeight - Only blocks with height smaller or equal than this one are returned. (optional, default to null)type - Filter by transaction type. To filter by multiple transaction types, add more filter query params like: ``type=16974&type=16718``. (optional, default to new ArrayList<>())embedded - When true, the endpoint also returns all the embedded aggregate transactions. Otherwise, only top-level transactions used to calculate the block transactionsHash are returned. (optional, default to false)pageSize - Select the number of entries to return. (optional, default to 10)pageNumber - Filter by page number. (optional, default to 1)offset - Entry id at which to start pagination. If the ordering parameter is set to -id, the elements returned precede the identifier. Otherwise, newer elements with respect to the id are returned. (optional)order - Sort responses in ascending or descending order based on the collection property set on the param ``orderBy``. If the request does not specify ``orderBy``, REST returns the collection ordered by id. (optional, default to desc)resultHandler - Asynchronous result handler