Interface TransactionAPI

All Known Implementing Classes:
TransactionAPIProvider

public interface TransactionAPI
EtherScan - API Descriptions ...
Since:
30.10.2018
  • Method Summary

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

    • statusExec

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

      @NotNull @NotNull Optional<Boolean> statusReceipt(@NotNull @NotNull String txhash) throws EtherScanException
      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:
      EtherScanException - parent exception class