io.api.etherscan.core.IBlockApi Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-etherscan-api Show documentation
Show all versions of java-etherscan-api Show documentation
Library is a wrapper for EtherScan API.
package io.api.etherscan.core;
import io.api.etherscan.error.ApiException;
import io.api.etherscan.model.UncleBlock;
import org.jetbrains.annotations.NotNull;
import java.util.Optional;
/**
* EtherScan - API Descriptions
* https://etherscan.io/apis#blocks
*
* @author GoodforGod
* @since 30.10.2018
*/
public interface IBlockApi {
/**
* Return uncle blocks
* @param blockNumber block number
* @return uncle block
*/
@NotNull Optional uncles(long blockNumber) throws ApiException;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy