Interface IBlockApi

  • All Known Implementing Classes:
    BlockApiProvider

    public interface IBlockApi
    EtherScan - API Descriptions https://etherscan.io/apis#blocks
    Since:
    30.10.2018
    • Method Detail

      • uncles

        @NotNull
        @NotNull java.util.Optional<UncleBlock> uncles​(long blockNumber)
                                                throws ApiException
        Return uncle blocks
        Parameters:
        blockNumber - block number form 0 to last
        Returns:
        optional uncle blocks
        Throws:
        ApiException - parent exception class