Package io.api.etherscan.core
Interface IBlockApi
-
- All Known Implementing Classes:
BlockApiProvider
public interface IBlockApiEtherScan - API Descriptions https://etherscan.io/apis#blocks- Since:
- 30.10.2018
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull java.util.Optional<UncleBlock>uncles(long blockNumber)Return uncle blocks
-
-
-
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
-
-