Class OracleApi
java.lang.Object
com.kryptokrauts.aeternity.generated.api.rxjava.OracleApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-01-08T18:17:10.638226617Z[Etc/UTC]")
public class OracleApi
extends java.lang.Object
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description OracleApi
getDelegate()
void
getOracleByPubkey(java.lang.String pubkey, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<RegisteredOracle>> resultHandler)
Get an oracle by public keyvoid
getOracleQueriesByPubkey(java.lang.String pubkey, java.lang.Boolean intAsString, java.lang.String from, java.math.BigInteger limit, java.lang.String type, io.vertx.core.Handler<io.vertx.core.AsyncResult<OracleQueries>> resultHandler)
Get oracle queries by public keyvoid
getOracleQueryByPubkeyAndQueryId(java.lang.String pubkey, java.lang.String queryId, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<OracleQuery>> resultHandler)
Get an oracle query by public key and query IDstatic OracleApi
newInstance(OracleApi arg)
void
postOracleExtend(OracleExtendTx oracleExtendTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
Get an oracle_extend transaction objectvoid
postOracleQuery(OracleQueryTx oracleQueryTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
Get an oracle_query transaction objectvoid
postOracleRegister(OracleRegisterTx oracleRegisterTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
Get a oracle_register transaction objectvoid
postOracleRespond(OracleRespondTx oracleRespondTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
Get an oracle_response transaction objectio.reactivex.Single<RegisteredOracle>
rxGetOracleByPubkey(java.lang.String pubkey, java.lang.Boolean intAsString)
Get an oracle by public keyio.reactivex.Single<OracleQueries>
rxGetOracleQueriesByPubkey(java.lang.String pubkey, java.lang.Boolean intAsString, java.lang.String from, java.math.BigInteger limit, java.lang.String type)
Get oracle queries by public keyio.reactivex.Single<OracleQuery>
rxGetOracleQueryByPubkeyAndQueryId(java.lang.String pubkey, java.lang.String queryId, java.lang.Boolean intAsString)
Get an oracle query by public key and query IDio.reactivex.Single<UnsignedTx>
rxPostOracleExtend(OracleExtendTx oracleExtendTx, java.lang.Boolean intAsString)
Get an oracle_extend transaction objectio.reactivex.Single<UnsignedTx>
rxPostOracleQuery(OracleQueryTx oracleQueryTx, java.lang.Boolean intAsString)
Get an oracle_query transaction objectio.reactivex.Single<UnsignedTx>
rxPostOracleRegister(OracleRegisterTx oracleRegisterTx, java.lang.Boolean intAsString)
Get a oracle_register transaction objectio.reactivex.Single<UnsignedTx>
rxPostOracleRespond(OracleRespondTx oracleRespondTx, java.lang.Boolean intAsString)
Get an oracle_response transaction objectMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
OracleApi
-
-
Method Details
-
getDelegate
-
getOracleByPubkey
public void getOracleByPubkey(java.lang.String pubkey, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<RegisteredOracle>> resultHandler)Get an oracle by public key- Parameters:
pubkey
- The public key of the oracle (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
-
rxGetOracleByPubkey
public io.reactivex.Single<RegisteredOracle> rxGetOracleByPubkey(java.lang.String pubkey, java.lang.Boolean intAsString)Get an oracle by public key- Parameters:
pubkey
- The public key of the oracle (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)
-
getOracleQueriesByPubkey
public void getOracleQueriesByPubkey(java.lang.String pubkey, java.lang.Boolean intAsString, java.lang.String from, java.math.BigInteger limit, java.lang.String type, io.vertx.core.Handler<io.vertx.core.AsyncResult<OracleQueries>> resultHandler)Get oracle queries by public key- Parameters:
pubkey
- The public key of the oracle (required)intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)from
- Last query id in previous page (optional)limit
- Max number of oracle queries (optional, default to 20)type
- The type of a query: open, closed or all (optional, default to all)resultHandler
- Asynchronous result handler
-
rxGetOracleQueriesByPubkey
public io.reactivex.Single<OracleQueries> rxGetOracleQueriesByPubkey(java.lang.String pubkey, java.lang.Boolean intAsString, java.lang.String from, java.math.BigInteger limit, java.lang.String type)Get oracle queries by public key- Parameters:
pubkey
- The public key of the oracle (required)intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)from
- Last query id in previous page (optional)limit
- Max number of oracle queries (optional, default to 20)type
- The type of a query: open, closed or all (optional, default to all)- Returns:
- Asynchronous result handler (RxJava Single)
-
getOracleQueryByPubkeyAndQueryId
public void getOracleQueryByPubkeyAndQueryId(java.lang.String pubkey, java.lang.String queryId, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<OracleQuery>> resultHandler)Get an oracle query by public key and query ID- Parameters:
pubkey
- The public key of the oracle (required)queryId
- The ID of the query (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
-
rxGetOracleQueryByPubkeyAndQueryId
public io.reactivex.Single<OracleQuery> rxGetOracleQueryByPubkeyAndQueryId(java.lang.String pubkey, java.lang.String queryId, java.lang.Boolean intAsString)Get an oracle query by public key and query ID- Parameters:
pubkey
- The public key of the oracle (required)queryId
- The ID of the query (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)
-
postOracleExtend
public void postOracleExtend(OracleExtendTx oracleExtendTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get an oracle_extend transaction object- Parameters:
oracleExtendTx
- (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
-
rxPostOracleExtend
public io.reactivex.Single<UnsignedTx> rxPostOracleExtend(OracleExtendTx oracleExtendTx, java.lang.Boolean intAsString)Get an oracle_extend transaction object- Parameters:
oracleExtendTx
- (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)
-
postOracleQuery
public void postOracleQuery(OracleQueryTx oracleQueryTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get an oracle_query transaction object- Parameters:
oracleQueryTx
- (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
-
rxPostOracleQuery
public io.reactivex.Single<UnsignedTx> rxPostOracleQuery(OracleQueryTx oracleQueryTx, java.lang.Boolean intAsString)Get an oracle_query transaction object- Parameters:
oracleQueryTx
- (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)
-
postOracleRegister
public void postOracleRegister(OracleRegisterTx oracleRegisterTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get a oracle_register transaction object- Parameters:
oracleRegisterTx
- (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
-
rxPostOracleRegister
public io.reactivex.Single<UnsignedTx> rxPostOracleRegister(OracleRegisterTx oracleRegisterTx, java.lang.Boolean intAsString)Get a oracle_register transaction object- Parameters:
oracleRegisterTx
- (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)
-
postOracleRespond
public void postOracleRespond(OracleRespondTx oracleRespondTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get an oracle_response transaction object- Parameters:
oracleRespondTx
- (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
-
rxPostOracleRespond
public io.reactivex.Single<UnsignedTx> rxPostOracleRespond(OracleRespondTx oracleRespondTx, java.lang.Boolean intAsString)Get an oracle_response transaction object- Parameters:
oracleRespondTx
- (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
-