Package io.api.etherscan.core.impl
Class BlockApiProvider
java.lang.Object
io.api.etherscan.core.impl.BlockApiProvider
- All Implemented Interfaces:
IBlockApi
Block API Implementation
- Since:
- 28.10.2018
- See Also:
-
Method Summary
Modifier and TypeMethodDescription@NotNull Optional<UncleBlock>uncles(long blockNumber) Return uncle blocks
-
Method Details
-
uncles
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
-