Interface ITransactionApi

All Known Implementing Classes:
TransactionApiProvider

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

    Modifier and Type
    Method
    Description
    @NotNull Optional<Status>
    Check Contract Execution Status (if there was an error during contract execution)
    @NotNull Optional<Boolean>
    Check Transaction Receipt Status (Only applicable for Post Byzantium fork transactions)
  • Method Details

    • execStatus

      @NotNull @NotNull Optional<Status> execStatus(String txhash) throws ApiException
      Check Contract Execution Status (if there was an error during contract execution)
      Parameters:
      txhash - transaction hash
      Returns:
      optional status result
      Throws:
      ApiException - parent exception class
    • receiptStatus

      @NotNull @NotNull Optional<Boolean> receiptStatus(String txhash) throws ApiException
      Check Transaction Receipt Status (Only applicable for Post Byzantium fork transactions)
      Parameters:
      txhash - transaction hash
      Returns:
      0 = Fail, 1 = Pass, empty value for pre-byzantium fork
      Throws:
      ApiException - parent exception class