Package io.api.etherscan.core.impl
Class BlockApiProvider
- java.lang.Object
-
- io.api.etherscan.core.impl.BlockApiProvider
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull java.util.Optional<UncleBlock>uncles(long blockNumber)Return uncle blocks
-
-
-
Method Detail
-
uncles
@NotNull public @NotNull java.util.Optional<UncleBlock> uncles(long blockNumber) throws ApiException
Description copied from interface:IBlockApiReturn uncle blocks- Specified by:
unclesin interfaceIBlockApi- Parameters:
blockNumber- block number form 0 to last- Returns:
- optional uncle blocks
- Throws:
ApiException- parent exception class
-
-