Interface ITransactionApi

  • All Known Implementing Classes:
    TransactionApiProvider

    public interface ITransactionApi
    EtherScan - API Descriptions https://etherscan.io/apis#transactions
    Since:
    30.10.2018
    Author:
    GoodforGod
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Optional<Status> execStatus​(java.lang.String txhash)
      Check Contract Execution Status (if there was an error during contract execution)
      java.util.Optional<java.lang.Boolean> receiptStatus​(java.lang.String txhash)
      Check Transaction Receipt Status (Only applicable for Post Byzantium fork transactions) 0 = Fail, 1 = Pass empty value for pre-byzantium fork
    • Method Detail

      • execStatus

        @NotNull
        java.util.Optional<Status> execStatus​(java.lang.String txhash)
                                       throws ApiException
        Check Contract Execution Status (if there was an error during contract execution)
        Parameters:
        txhash - to look for
        Returns:
        exec status
        Throws:
        ApiException
      • receiptStatus

        @NotNull
        java.util.Optional<java.lang.Boolean> receiptStatus​(java.lang.String txhash)
                                                     throws ApiException
        Check Transaction Receipt Status (Only applicable for Post Byzantium fork transactions) 0 = Fail, 1 = Pass empty value for pre-byzantium fork
        Parameters:
        txhash - to look for
        Returns:
        status as boolean
        Throws:
        ApiException