java.lang.Object
com.kryptokrauts.aeternity.generated.api.rxjava.OracleApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
           date="2022-01-10T23:40:09.108255703Z[Etc/UTC]")
public class OracleApi
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    OracleApi​(OracleApi delegate)  
  • 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 key
    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
    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
    static 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 object
    void postOracleQuery​(OracleQueryTx oracleQueryTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
    Get an oracle_query transaction object
    void postOracleRegister​(OracleRegisterTx oracleRegisterTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
    Get a oracle_register transaction object
    void postOracleRespond​(OracleRespondTx oracleRespondTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
    Get an oracle_response transaction object
    io.reactivex.Single<RegisteredOracle> rxGetOracleByPubkey​(java.lang.String pubkey, java.lang.Boolean intAsString)
    Get an oracle by public key
    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
    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
    io.reactivex.Single<UnsignedTx> rxPostOracleExtend​(OracleExtendTx oracleExtendTx, java.lang.Boolean intAsString)
    Get an oracle_extend transaction object
    io.reactivex.Single<UnsignedTx> rxPostOracleQuery​(OracleQueryTx oracleQueryTx, java.lang.Boolean intAsString)
    Get an oracle_query transaction object
    io.reactivex.Single<UnsignedTx> rxPostOracleRegister​(OracleRegisterTx oracleRegisterTx, java.lang.Boolean intAsString)
    Get a oracle_register transaction object
    io.reactivex.Single<UnsignedTx> rxPostOracleRespond​(OracleRespondTx oracleRespondTx, java.lang.Boolean intAsString)
    Get an oracle_response transaction object

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • OracleApi

      public OracleApi​(OracleApi delegate)
  • Method Details

    • getDelegate

      public OracleApi 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

      public static OracleApi newInstance​(OracleApi arg)