@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2020-09-25T14:18:23.319Z[UTC]")
public class TransactionRoutesApi
extends java.lang.Object
| Constructor and Description |
|---|
TransactionRoutesApi(TransactionRoutesApi delegate) |
| 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.
|
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.
|
TransactionRoutesApi |
getDelegate() |
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.
|
static TransactionRoutesApi |
newInstance(TransactionRoutesApi arg) |
rx.Single<AnnounceTransactionInfoDTO> |
rxAnnounceCosignatureTransaction(Cosignature cosignature)
Announce a cosignature transaction
Announces a cosignature transaction to the network.
|
rx.Single<AnnounceTransactionInfoDTO> |
rxAnnouncePartialTransaction(TransactionPayload transactionPayload)
Announce an aggregate bonded transaction
Announces an aggregate bonded transaction to the network.
|
rx.Single<AnnounceTransactionInfoDTO> |
rxAnnounceTransaction(TransactionPayload transactionPayload)
Announce a new transaction
Announces a transaction to the network.
|
rx.Single<TransactionInfoDTO> |
rxGetConfirmedTransaction(java.lang.String transactionId)
Get confirmed transaction information
Returns confirmed transaction information given a transactionId or hash.
|
rx.Single<java.util.List<TransactionInfoDTO>> |
rxGetConfirmedTransactions(TransactionIds transactionIds)
Get confirmed trasactions information
Returns confirmed transactions information for a given array of transactionIds.
|
rx.Single<TransactionInfoDTO> |
rxGetPartialTransaction(java.lang.String transactionId)
Get partial transaction information
Returns partial transaction information given a transactionId or hash.
|
rx.Single<java.util.List<TransactionInfoDTO>> |
rxGetPartialTransactions(TransactionIds transactionIds)
Get partial trasactions information
Returns partial transactions information for a given array of transactionIds.
|
rx.Single<TransactionInfoDTO> |
rxGetUnconfirmedTransaction(java.lang.String transactionId)
Get unconfirmed transaction information
Returns unconfirmed transaction information given a transactionId or hash.
|
rx.Single<java.util.List<TransactionInfoDTO>> |
rxGetUnconfirmedTransactions(TransactionIds transactionIds)
Get unconfirmed trasactions information
Returns unconfirmed transactions information for a given array of transactionIds.
|
rx.Single<TransactionPage> |
rxSearchConfirmedTransactions(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)
Search confirmed transactions
Returns an array of confirmed transactions.
|
rx.Single<TransactionPage> |
rxSearchPartialTransactions(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)
Search partial transactions
Returns an array of partial transactions.
|
rx.Single<TransactionPage> |
rxSearchUnconfirmedTransactions(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)
Search unconfirmed transactions
Returns an array of unconfirmed transactions.
|
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.
|
public TransactionRoutesApi(TransactionRoutesApi delegate)
public TransactionRoutesApi getDelegate()
public void announceCosignatureTransaction(Cosignature cosignature, io.vertx.core.Handler<io.vertx.core.AsyncResult<AnnounceTransactionInfoDTO>> resultHandler)
cosignature - (required)resultHandler - Asynchronous result handlerpublic rx.Single<AnnounceTransactionInfoDTO> rxAnnounceCosignatureTransaction(Cosignature cosignature)
cosignature - (required)public void announcePartialTransaction(TransactionPayload transactionPayload, io.vertx.core.Handler<io.vertx.core.AsyncResult<AnnounceTransactionInfoDTO>> resultHandler)
transactionPayload - (required)resultHandler - Asynchronous result handlerpublic rx.Single<AnnounceTransactionInfoDTO> rxAnnouncePartialTransaction(TransactionPayload transactionPayload)
transactionPayload - (required)public void announceTransaction(TransactionPayload transactionPayload, io.vertx.core.Handler<io.vertx.core.AsyncResult<AnnounceTransactionInfoDTO>> resultHandler)
transactionPayload - (required)resultHandler - Asynchronous result handlerpublic rx.Single<AnnounceTransactionInfoDTO> rxAnnounceTransaction(TransactionPayload transactionPayload)
transactionPayload - (required)public void getConfirmedTransaction(java.lang.String transactionId,
io.vertx.core.Handler<io.vertx.core.AsyncResult<TransactionInfoDTO>> resultHandler)
transactionId - Transaction id or hash. (required)resultHandler - Asynchronous result handlerpublic rx.Single<TransactionInfoDTO> rxGetConfirmedTransaction(java.lang.String transactionId)
transactionId - Transaction id or hash. (required)public void getConfirmedTransactions(TransactionIds transactionIds, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<TransactionInfoDTO>>> resultHandler)
transactionIds - (required)resultHandler - Asynchronous result handlerpublic rx.Single<java.util.List<TransactionInfoDTO>> rxGetConfirmedTransactions(TransactionIds transactionIds)
transactionIds - (required)public void getPartialTransaction(java.lang.String transactionId,
io.vertx.core.Handler<io.vertx.core.AsyncResult<TransactionInfoDTO>> resultHandler)
transactionId - Transaction id or hash. (required)resultHandler - Asynchronous result handlerpublic rx.Single<TransactionInfoDTO> rxGetPartialTransaction(java.lang.String transactionId)
transactionId - Transaction id or hash. (required)public void getPartialTransactions(TransactionIds transactionIds, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<TransactionInfoDTO>>> resultHandler)
transactionIds - (required)resultHandler - Asynchronous result handlerpublic rx.Single<java.util.List<TransactionInfoDTO>> rxGetPartialTransactions(TransactionIds transactionIds)
transactionIds - (required)public void getUnconfirmedTransaction(java.lang.String transactionId,
io.vertx.core.Handler<io.vertx.core.AsyncResult<TransactionInfoDTO>> resultHandler)
transactionId - Transaction id or hash. (required)resultHandler - Asynchronous result handlerpublic rx.Single<TransactionInfoDTO> rxGetUnconfirmedTransaction(java.lang.String transactionId)
transactionId - Transaction id or hash. (required)public void getUnconfirmedTransactions(TransactionIds transactionIds, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<TransactionInfoDTO>>> resultHandler)
transactionIds - (required)resultHandler - Asynchronous result handlerpublic rx.Single<java.util.List<TransactionInfoDTO>> rxGetUnconfirmedTransactions(TransactionIds transactionIds)
transactionIds - (required)public 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)
address - 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 rx.Single<TransactionPage> rxSearchConfirmedTransactions(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)
address - 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)public 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)
address - 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 rx.Single<TransactionPage> rxSearchPartialTransactions(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)
address - 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)public 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)
address - 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 rx.Single<TransactionPage> rxSearchUnconfirmedTransactions(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)
address - 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)public static TransactionRoutesApi newInstance(TransactionRoutesApi arg)