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

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

    Constructors
    Constructor Description
    ContractApi​(ContractApi delegate)  
  • Method Summary

    Modifier and Type Method Description
    void getContract​(java.lang.String pubkey, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<ContractObject>> resultHandler)
    Get a contract by pubkey
    void getContractCode​(java.lang.String pubkey, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<ByteCode>> resultHandler)
    Get contract code by pubkey
    void getContractPoI​(java.lang.String pubkey, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<PoI>> resultHandler)
    Get a proof of inclusion for a contract
    ContractApi getDelegate()  
    static ContractApi newInstance​(ContractApi arg)  
    void postContractCall​(ContractCallTx contractCallTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
    Get a contract_call transaction object
    void postContractCreate​(ContractCreateTx contractCreateTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<CreateContractUnsignedTx>> resultHandler)
    Get a contract_create transaction object
    io.reactivex.Single<ContractObject> rxGetContract​(java.lang.String pubkey, java.lang.Boolean intAsString)
    Get a contract by pubkey
    io.reactivex.Single<ByteCode> rxGetContractCode​(java.lang.String pubkey, java.lang.Boolean intAsString)
    Get contract code by pubkey
    io.reactivex.Single<PoI> rxGetContractPoI​(java.lang.String pubkey, java.lang.Boolean intAsString)
    Get a proof of inclusion for a contract
    io.reactivex.Single<UnsignedTx> rxPostContractCall​(ContractCallTx contractCallTx, java.lang.Boolean intAsString)
    Get a contract_call transaction object
    io.reactivex.Single<CreateContractUnsignedTx> rxPostContractCreate​(ContractCreateTx contractCreateTx, java.lang.Boolean intAsString)
    Get a contract_create transaction object

    Methods inherited from class java.lang.Object

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

    • ContractApi

      public ContractApi​(ContractApi delegate)
  • Method Details

    • getDelegate

      public ContractApi getDelegate()
    • getContract

      public void getContract​(java.lang.String pubkey, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<ContractObject>> resultHandler)
      Get a contract by pubkey
      Parameters:
      pubkey - Contract pubkey to get proof for (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
    • rxGetContract

      public io.reactivex.Single<ContractObject> rxGetContract​(java.lang.String pubkey, java.lang.Boolean intAsString)
      Get a contract by pubkey
      Parameters:
      pubkey - Contract pubkey to get proof for (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)
    • getContractCode

      public void getContractCode​(java.lang.String pubkey, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<ByteCode>> resultHandler)
      Get contract code by pubkey
      Parameters:
      pubkey - Contract pubkey to get proof for (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
    • rxGetContractCode

      public io.reactivex.Single<ByteCode> rxGetContractCode​(java.lang.String pubkey, java.lang.Boolean intAsString)
      Get contract code by pubkey
      Parameters:
      pubkey - Contract pubkey to get proof for (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)
    • getContractPoI

      public void getContractPoI​(java.lang.String pubkey, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<PoI>> resultHandler)
      Get a proof of inclusion for a contract
      Parameters:
      pubkey - Contract pubkey to get proof for (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
    • rxGetContractPoI

      public io.reactivex.Single<PoI> rxGetContractPoI​(java.lang.String pubkey, java.lang.Boolean intAsString)
      Get a proof of inclusion for a contract
      Parameters:
      pubkey - Contract pubkey to get proof for (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)
    • postContractCall

      public void postContractCall​(ContractCallTx contractCallTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
      Get a contract_call transaction object
      Parameters:
      contractCallTx - (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
    • rxPostContractCall

      public io.reactivex.Single<UnsignedTx> rxPostContractCall​(ContractCallTx contractCallTx, java.lang.Boolean intAsString)
      Get a contract_call transaction object
      Parameters:
      contractCallTx - (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)
    • postContractCreate

      public void postContractCreate​(ContractCreateTx contractCreateTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<CreateContractUnsignedTx>> resultHandler)
      Get a contract_create transaction object
      Parameters:
      contractCreateTx - (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
    • rxPostContractCreate

      public io.reactivex.Single<CreateContractUnsignedTx> rxPostContractCreate​(ContractCreateTx contractCreateTx, java.lang.Boolean intAsString)
      Get a contract_create transaction object
      Parameters:
      contractCreateTx - (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 ContractApi newInstance​(ContractApi arg)