Class BlockApiProvider

java.lang.Object
io.api.etherscan.core.impl.BlockApiProvider
All Implemented Interfaces:
IBlockApi

public class BlockApiProvider extends Object implements IBlockApi
Block API Implementation
Since:
28.10.2018
See Also:
  • Method Details

    • uncles

      @NotNull public @NotNull Optional<UncleBlock> uncles(long blockNumber) throws ApiException
      Description copied from interface: IBlockApi
      Return uncle blocks
      Specified by:
      uncles in interface IBlockApi
      Parameters:
      blockNumber - block number form 0 to last
      Returns:
      optional uncle blocks
      Throws:
      ApiException - parent exception class