Class MiddlewareApi
java.lang.Object
com.kryptokrauts.mdw.generated.api.rxjava.MiddlewareApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-01-10T23:40:12.989595060Z[Etc/UTC]")
public class MiddlewareApi
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description MiddlewareApi(MiddlewareApi delegate) -
Method Summary
Modifier and Type Method Description voidgetActiveNames(java.lang.String by, java.lang.String direction, java.math.BigInteger page, java.math.BigInteger limit, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Object>> resultHandler)Get active names.voidgetAllAuctions(java.lang.String by, java.lang.String direction, java.math.BigInteger page, java.math.BigInteger limit, io.vertx.core.Handler<io.vertx.core.AsyncResult<NameAuctions>> resultHandler)Get all auctions.voidgetAllNames(java.lang.String by, java.lang.String direction, java.math.BigInteger page, java.math.BigInteger limit, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Object>> resultHandler)Get all active and inactive names, except those in auction.voidgetBlockByHash(java.lang.String hash, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Object>> resultHandler)Get block information by given key/micro block hash.voidgetBlockByKbi(java.math.BigInteger kbi, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Object>> resultHandler)Get key block information by given key block index(height).voidgetBlockByKbiAndMbi(java.math.BigInteger kbi, java.math.BigInteger mbi, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Object>> resultHandler)Get micro block information by given key block index(height) and micro block index.voidgetBlocks(java.lang.String rangeOrDir, java.math.BigInteger limit, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Object>> resultHandler)Get multiple generations.voidgetCurrentTxCount(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Object>> resultHandler)Get count of transactions at the current height.MiddlewareApigetDelegate()voidgetNameAuctionById(java.lang.String id, io.vertx.core.Handler<io.vertx.core.AsyncResult<NameAuction>> resultHandler)voidgetNameById(java.lang.String id, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Object>> resultHandler)Get information for given name or encoded hash.voidgetPointeesById(java.lang.String id, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Object>> resultHandler)Get names pointing to a particular pubkey.voidgetPointersById(java.lang.String id, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Object>> resultHandler)Get pointers for given name.voidgetStatus(io.vertx.core.Handler<io.vertx.core.AsyncResult<Status>> resultHandler)Get middleware status.voidgetTxByHash(java.lang.String hash, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Object>> resultHandler)Get a transaction by a given hash.voidgetTxByIndex(java.math.BigInteger index, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Object>> resultHandler)Get a transaction by a given index.voidgetTxCountById(java.lang.String id, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Object>> resultHandler)Get transactions count and its type for given aeternity ID.voidgetTxsByDirection(java.lang.String direction, java.util.List<java.lang.String> type, java.util.List<java.lang.String> typeGroup, java.lang.String account, java.lang.String contract, java.lang.String channel, java.lang.String oracle, java.math.BigInteger page, java.math.BigInteger limit, java.lang.String senderId, java.lang.String recipientId, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Object>> resultHandler)Get a transactions from beginning or end of the chain.voidgetTxsByScopeTypeRange(java.lang.String scopeType, java.lang.String range, java.util.List<java.lang.String> type, java.util.List<java.lang.String> typeGroup, java.lang.String account, java.lang.String contract, java.lang.String channel, java.lang.String oracle, java.math.BigInteger page, java.math.BigInteger limit, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Object>> resultHandler)Get a transactions bounded by scope/range.static MiddlewareApinewInstance(MiddlewareApi arg)io.reactivex.Single<java.lang.Object>rxGetActiveNames(java.lang.String by, java.lang.String direction, java.math.BigInteger page, java.math.BigInteger limit)Get active names.io.reactivex.Single<NameAuctions>rxGetAllAuctions(java.lang.String by, java.lang.String direction, java.math.BigInteger page, java.math.BigInteger limit)Get all auctions.io.reactivex.Single<java.lang.Object>rxGetAllNames(java.lang.String by, java.lang.String direction, java.math.BigInteger page, java.math.BigInteger limit)Get all active and inactive names, except those in auction.io.reactivex.Single<java.lang.Object>rxGetBlockByHash(java.lang.String hash)Get block information by given key/micro block hash.io.reactivex.Single<java.lang.Object>rxGetBlockByKbi(java.math.BigInteger kbi)Get key block information by given key block index(height).io.reactivex.Single<java.lang.Object>rxGetBlockByKbiAndMbi(java.math.BigInteger kbi, java.math.BigInteger mbi)Get micro block information by given key block index(height) and micro block index.io.reactivex.Single<java.lang.Object>rxGetBlocks(java.lang.String rangeOrDir, java.math.BigInteger limit)Get multiple generations.io.reactivex.Single<java.lang.Object>rxGetCurrentTxCount()Get count of transactions at the current height.io.reactivex.Single<NameAuction>rxGetNameAuctionById(java.lang.String id)io.reactivex.Single<java.lang.Object>rxGetNameById(java.lang.String id)Get information for given name or encoded hash.io.reactivex.Single<java.lang.Object>rxGetPointeesById(java.lang.String id)Get names pointing to a particular pubkey.io.reactivex.Single<java.lang.Object>rxGetPointersById(java.lang.String id)Get pointers for given name.io.reactivex.Single<Status>rxGetStatus()Get middleware status.io.reactivex.Single<java.lang.Object>rxGetTxByHash(java.lang.String hash)Get a transaction by a given hash.io.reactivex.Single<java.lang.Object>rxGetTxByIndex(java.math.BigInteger index)Get a transaction by a given index.io.reactivex.Single<java.lang.Object>rxGetTxCountById(java.lang.String id)Get transactions count and its type for given aeternity ID.io.reactivex.Single<java.lang.Object>rxGetTxsByDirection(java.lang.String direction, java.util.List<java.lang.String> type, java.util.List<java.lang.String> typeGroup, java.lang.String account, java.lang.String contract, java.lang.String channel, java.lang.String oracle, java.math.BigInteger page, java.math.BigInteger limit, java.lang.String senderId, java.lang.String recipientId)Get a transactions from beginning or end of the chain.io.reactivex.Single<java.lang.Object>rxGetTxsByScopeTypeRange(java.lang.String scopeType, java.lang.String range, java.util.List<java.lang.String> type, java.util.List<java.lang.String> typeGroup, java.lang.String account, java.lang.String contract, java.lang.String channel, java.lang.String oracle, java.math.BigInteger page, java.math.BigInteger limit)Get a transactions bounded by scope/range.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
MiddlewareApi
-
-
Method Details
-
getDelegate
-
getActiveNames
public void getActiveNames(java.lang.String by, java.lang.String direction, java.math.BigInteger page, java.math.BigInteger limit, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Object>> resultHandler)Get active names.- Parameters:
by- The ordering via parameters. (optional, default to expiration)direction- The direction - **forward** is from genesis to the end, **backward** is from end to the beginning. (optional, default to backward)page- The number of page to show. (optional, default to 1)limit- The numbers of items to return. (optional, default to 10)resultHandler- Asynchronous result handler
-
rxGetActiveNames
public io.reactivex.Single<java.lang.Object> rxGetActiveNames(java.lang.String by, java.lang.String direction, java.math.BigInteger page, java.math.BigInteger limit)Get active names.- Parameters:
by- The ordering via parameters. (optional, default to expiration)direction- The direction - **forward** is from genesis to the end, **backward** is from end to the beginning. (optional, default to backward)page- The number of page to show. (optional, default to 1)limit- The numbers of items to return. (optional, default to 10)- Returns:
- Asynchronous result handler (RxJava Single)
-
getAllAuctions
public void getAllAuctions(java.lang.String by, java.lang.String direction, java.math.BigInteger page, java.math.BigInteger limit, io.vertx.core.Handler<io.vertx.core.AsyncResult<NameAuctions>> resultHandler)Get all auctions.- Parameters:
by- The ordering via parameters. (optional, default to expiration)direction- The direction - **forward** is from genesis to the end, **backward** is from end to the beginning. (optional, default to backward)page- The number of page to show. (optional, default to 1)limit- The numbers of items to return. (optional, default to 10)resultHandler- Asynchronous result handler
-
rxGetAllAuctions
public io.reactivex.Single<NameAuctions> rxGetAllAuctions(java.lang.String by, java.lang.String direction, java.math.BigInteger page, java.math.BigInteger limit)Get all auctions.- Parameters:
by- The ordering via parameters. (optional, default to expiration)direction- The direction - **forward** is from genesis to the end, **backward** is from end to the beginning. (optional, default to backward)page- The number of page to show. (optional, default to 1)limit- The numbers of items to return. (optional, default to 10)- Returns:
- Asynchronous result handler (RxJava Single)
-
getAllNames
public void getAllNames(java.lang.String by, java.lang.String direction, java.math.BigInteger page, java.math.BigInteger limit, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Object>> resultHandler)Get all active and inactive names, except those in auction.- Parameters:
by- The ordering via parameters. (optional, default to expiration)direction- The direction - **forward** is from genesis to the end, **backward** is from end to the beginning. (optional, default to backward)page- The number of page to show. (optional, default to 1)limit- The numbers of items to return. (optional, default to 10)resultHandler- Asynchronous result handler
-
rxGetAllNames
public io.reactivex.Single<java.lang.Object> rxGetAllNames(java.lang.String by, java.lang.String direction, java.math.BigInteger page, java.math.BigInteger limit)Get all active and inactive names, except those in auction.- Parameters:
by- The ordering via parameters. (optional, default to expiration)direction- The direction - **forward** is from genesis to the end, **backward** is from end to the beginning. (optional, default to backward)page- The number of page to show. (optional, default to 1)limit- The numbers of items to return. (optional, default to 10)- Returns:
- Asynchronous result handler (RxJava Single)
-
getBlockByHash
public void getBlockByHash(java.lang.String hash, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Object>> resultHandler)Get block information by given key/micro block hash.- Parameters:
hash- The key/micro block hash. (required)resultHandler- Asynchronous result handler
-
rxGetBlockByHash
public io.reactivex.Single<java.lang.Object> rxGetBlockByHash(java.lang.String hash)Get block information by given key/micro block hash.- Parameters:
hash- The key/micro block hash. (required)- Returns:
- Asynchronous result handler (RxJava Single)
-
getBlockByKbi
public void getBlockByKbi(java.math.BigInteger kbi, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Object>> resultHandler)Get key block information by given key block index(height).- Parameters:
kbi- The key block index(height). (required)resultHandler- Asynchronous result handler
-
rxGetBlockByKbi
public io.reactivex.Single<java.lang.Object> rxGetBlockByKbi(java.math.BigInteger kbi)Get key block information by given key block index(height).- Parameters:
kbi- The key block index(height). (required)- Returns:
- Asynchronous result handler (RxJava Single)
-
getBlockByKbiAndMbi
public void getBlockByKbiAndMbi(java.math.BigInteger kbi, java.math.BigInteger mbi, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Object>> resultHandler)Get micro block information by given key block index(height) and micro block index.- Parameters:
kbi- The key block index(height). (required)mbi- The micro block index. (required)resultHandler- Asynchronous result handler
-
rxGetBlockByKbiAndMbi
public io.reactivex.Single<java.lang.Object> rxGetBlockByKbiAndMbi(java.math.BigInteger kbi, java.math.BigInteger mbi)Get micro block information by given key block index(height) and micro block index.- Parameters:
kbi- The key block index(height). (required)mbi- The micro block index. (required)- Returns:
- Asynchronous result handler (RxJava Single)
-
getBlocks
public void getBlocks(java.lang.String rangeOrDir, java.math.BigInteger limit, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Object>> resultHandler)Get multiple generations.- Parameters:
rangeOrDir- The direction, which could be **forward** or **backward**, or non-negative integer range. (required)limit- The numbers of items to return. (optional, default to 10)resultHandler- Asynchronous result handler
-
rxGetBlocks
public io.reactivex.Single<java.lang.Object> rxGetBlocks(java.lang.String rangeOrDir, java.math.BigInteger limit)Get multiple generations.- Parameters:
rangeOrDir- The direction, which could be **forward** or **backward**, or non-negative integer range. (required)limit- The numbers of items to return. (optional, default to 10)- Returns:
- Asynchronous result handler (RxJava Single)
-
getCurrentTxCount
public void getCurrentTxCount(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Object>> resultHandler)Get count of transactions at the current height.- Parameters:
resultHandler- Asynchronous result handler
-
rxGetCurrentTxCount
public io.reactivex.Single<java.lang.Object> rxGetCurrentTxCount()Get count of transactions at the current height.- Returns:
- Asynchronous result handler (RxJava Single)
-
getNameAuctionById
public void getNameAuctionById(java.lang.String id, io.vertx.core.Handler<io.vertx.core.AsyncResult<NameAuction>> resultHandler)- Parameters:
id- The name or encoded hash. (required)resultHandler- Asynchronous result handler
-
rxGetNameAuctionById
- Parameters:
id- The name or encoded hash. (required)- Returns:
- Asynchronous result handler (RxJava Single)
-
getNameById
public void getNameById(java.lang.String id, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Object>> resultHandler)Get information for given name or encoded hash.- Parameters:
id- The name or encoded hash. (required)resultHandler- Asynchronous result handler
-
rxGetNameById
public io.reactivex.Single<java.lang.Object> rxGetNameById(java.lang.String id)Get information for given name or encoded hash.- Parameters:
id- The name or encoded hash. (required)- Returns:
- Asynchronous result handler (RxJava Single)
-
getPointeesById
public void getPointeesById(java.lang.String id, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Object>> resultHandler)Get names pointing to a particular pubkey.- Parameters:
id- The public key. (required)resultHandler- Asynchronous result handler
-
rxGetPointeesById
public io.reactivex.Single<java.lang.Object> rxGetPointeesById(java.lang.String id)Get names pointing to a particular pubkey.- Parameters:
id- The public key. (required)- Returns:
- Asynchronous result handler (RxJava Single)
-
getPointersById
public void getPointersById(java.lang.String id, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Object>> resultHandler)Get pointers for given name.- Parameters:
id- The name. (required)resultHandler- Asynchronous result handler
-
rxGetPointersById
public io.reactivex.Single<java.lang.Object> rxGetPointersById(java.lang.String id)Get pointers for given name.- Parameters:
id- The name. (required)- Returns:
- Asynchronous result handler (RxJava Single)
-
getStatus
Get middleware status.- Parameters:
resultHandler- Asynchronous result handler
-
rxGetStatus
Get middleware status.- Returns:
- Asynchronous result handler (RxJava Single)
-
getTxByHash
public void getTxByHash(java.lang.String hash, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Object>> resultHandler)Get a transaction by a given hash.- Parameters:
hash- The transaction hash. (required)resultHandler- Asynchronous result handler
-
rxGetTxByHash
public io.reactivex.Single<java.lang.Object> rxGetTxByHash(java.lang.String hash)Get a transaction by a given hash.- Parameters:
hash- The transaction hash. (required)- Returns:
- Asynchronous result handler (RxJava Single)
-
getTxByIndex
public void getTxByIndex(java.math.BigInteger index, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Object>> resultHandler)Get a transaction by a given index.- Parameters:
index- The transaction index. (required)resultHandler- Asynchronous result handler
-
rxGetTxByIndex
public io.reactivex.Single<java.lang.Object> rxGetTxByIndex(java.math.BigInteger index)Get a transaction by a given index.- Parameters:
index- The transaction index. (required)- Returns:
- Asynchronous result handler (RxJava Single)
-
getTxCountById
public void getTxCountById(java.lang.String id, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Object>> resultHandler)Get transactions count and its type for given aeternity ID.- Parameters:
id- The ID. (required)resultHandler- Asynchronous result handler
-
rxGetTxCountById
public io.reactivex.Single<java.lang.Object> rxGetTxCountById(java.lang.String id)Get transactions count and its type for given aeternity ID.- Parameters:
id- The ID. (required)- Returns:
- Asynchronous result handler (RxJava Single)
-
getTxsByDirection
public void getTxsByDirection(java.lang.String direction, java.util.List<java.lang.String> type, java.util.List<java.lang.String> typeGroup, java.lang.String account, java.lang.String contract, java.lang.String channel, java.lang.String oracle, java.math.BigInteger page, java.math.BigInteger limit, java.lang.String senderId, java.lang.String recipientId, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Object>> resultHandler)Get a transactions from beginning or end of the chain. More [info](https://github.com/aeternity/ae_mdw#transaction-querying).- Parameters:
direction- The direction - **forward** is from genesis to the end, **backward** is from end to the beginning. (required)type- The transaction type. The query allows providing of multiple type parameters. [More info](https://github.com/aeternity/ae_mdw#types). (optional)typeGroup- The type group. The query allows providing of multiple type group parameters. [More info](https://github.com/aeternity/ae_mdw#types). (optional)account- The account ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids). (optional)contract- The contract ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids). (optional)channel- The channel ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids). (optional)oracle- The oracle ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids). (optional)page- The number of page to show. (optional, default to 1)limit- The numbers of items to return. (optional, default to 10)senderId- The sender ID. (optional)recipientId- The recipient ID. (optional)resultHandler- Asynchronous result handler
-
rxGetTxsByDirection
public io.reactivex.Single<java.lang.Object> rxGetTxsByDirection(java.lang.String direction, java.util.List<java.lang.String> type, java.util.List<java.lang.String> typeGroup, java.lang.String account, java.lang.String contract, java.lang.String channel, java.lang.String oracle, java.math.BigInteger page, java.math.BigInteger limit, java.lang.String senderId, java.lang.String recipientId)Get a transactions from beginning or end of the chain. More [info](https://github.com/aeternity/ae_mdw#transaction-querying).- Parameters:
direction- The direction - **forward** is from genesis to the end, **backward** is from end to the beginning. (required)type- The transaction type. The query allows providing of multiple type parameters. [More info](https://github.com/aeternity/ae_mdw#types). (optional)typeGroup- The type group. The query allows providing of multiple type group parameters. [More info](https://github.com/aeternity/ae_mdw#types). (optional)account- The account ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids). (optional)contract- The contract ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids). (optional)channel- The channel ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids). (optional)oracle- The oracle ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids). (optional)page- The number of page to show. (optional, default to 1)limit- The numbers of items to return. (optional, default to 10)senderId- The sender ID. (optional)recipientId- The recipient ID. (optional)- Returns:
- Asynchronous result handler (RxJava Single)
-
getTxsByScopeTypeRange
public void getTxsByScopeTypeRange(java.lang.String scopeType, java.lang.String range, java.util.List<java.lang.String> type, java.util.List<java.lang.String> typeGroup, java.lang.String account, java.lang.String contract, java.lang.String channel, java.lang.String oracle, java.math.BigInteger page, java.math.BigInteger limit, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Object>> resultHandler)Get a transactions bounded by scope/range.- Parameters:
scopeType- The scope type. (required)range- The range. (required)type- The transaction type. The query allows providing of multiple type parameters. [More info](https://github.com/aeternity/ae_mdw#types). (optional)typeGroup- The type group. The query allows providing of multiple type group parameters. [More info](https://github.com/aeternity/ae_mdw#types). (optional)account- The account ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids). (optional)contract- The contract ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids). (optional)channel- The channel ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids). (optional)oracle- The oracle ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids). (optional)page- The number of page to show. (optional, default to 1)limit- The numbers of items to return. (optional, default to 10)resultHandler- Asynchronous result handler
-
rxGetTxsByScopeTypeRange
public io.reactivex.Single<java.lang.Object> rxGetTxsByScopeTypeRange(java.lang.String scopeType, java.lang.String range, java.util.List<java.lang.String> type, java.util.List<java.lang.String> typeGroup, java.lang.String account, java.lang.String contract, java.lang.String channel, java.lang.String oracle, java.math.BigInteger page, java.math.BigInteger limit)Get a transactions bounded by scope/range.- Parameters:
scopeType- The scope type. (required)range- The range. (required)type- The transaction type. The query allows providing of multiple type parameters. [More info](https://github.com/aeternity/ae_mdw#types). (optional)typeGroup- The type group. The query allows providing of multiple type group parameters. [More info](https://github.com/aeternity/ae_mdw#types). (optional)account- The account ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids). (optional)contract- The contract ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids). (optional)channel- The channel ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids). (optional)oracle- The oracle ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids). (optional)page- The number of page to show. (optional, default to 1)limit- The numbers of items to return. (optional, default to 10)- Returns:
- Asynchronous result handler (RxJava Single)
-
newInstance
-