Class DryRunApiImpl

java.lang.Object
com.kryptokrauts.aeternity.generated.api.DryRunApiImpl
All Implemented Interfaces:
DryRunApi

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

    Constructors
    Constructor Description
    DryRunApiImpl()  
    DryRunApiImpl​(ApiClient apiClient)  
  • Method Summary

    Modifier and Type Method Description
    ApiClient getApiClient()  
    void protectedDryRunTxs​(DryRunInput dryRunInput, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<DryRunResults>> resultHandler)
    Dry-run transactions on top of a given block.
    void setApiClient​(ApiClient apiClient)  

    Methods inherited from class java.lang.Object

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

    • DryRunApiImpl

      public DryRunApiImpl()
    • DryRunApiImpl

      public DryRunApiImpl​(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient​(ApiClient apiClient)
    • protectedDryRunTxs

      public void protectedDryRunTxs​(DryRunInput dryRunInput, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<DryRunResults>> resultHandler)
      Dry-run transactions on top of a given block. Supports all TXs except GAMetaTx, PayingForTx and OffchainTx. The maximum gas limit of all calls is capped. The maximum gas limit per request is a global node setting. Since DryRunCallReq object do not have a mandatory gas field, if not set a default value of 1000000 is being used instead.
      Specified by:
      protectedDryRunTxs in interface DryRunApi
      Parameters:
      dryRunInput - transactions (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