Interface ContractAPI

All Known Implementing Classes:
ContractAPIProvider

public interface ContractAPI
EtherScan - API Descriptions ...
Since:
28.10.2018
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull Abi
    contractAbi(@NotNull String address)
    Get Verified Contract Sources
    contractCreation(@NotNull List<String> contractAddresses)
    Returns a contract's deployer address and transaction hash it was created, up to 5 at a time.
  • Method Details

    • contractAbi

      @NotNull @NotNull Abi contractAbi(@NotNull @NotNull String address) throws EtherScanException
      Get Verified Contract Sources
      Parameters:
      address - to verify
      Returns:
      ABI verified
      Throws:
      EtherScanException - parent exception class
    • contractCreation

      @NotNull @NotNull List<ContractCreation> contractCreation(@NotNull @NotNull List<String> contractAddresses) throws EtherScanException
      Returns a contract's deployer address and transaction hash it was created, up to 5 at a time.
      Parameters:
      contractAddresses - - list of addresses to fetch
      Throws:
      EtherScanException - parent exception class