All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.api.etherscan.core.ILogsApi Maven / Gradle / Ivy

There is a newer version: 2.1.0
Show newest version
package io.api.etherscan.core;

import io.api.etherscan.error.ApiException;
import io.api.etherscan.model.Log;
import io.api.etherscan.model.query.impl.LogQuery;
import org.jetbrains.annotations.NotNull;

import java.util.List;

/**
 * EtherScan - API Descriptions https://etherscan.io/apis#logs
 *
 * @author GoodforGod
 * @since 30.10.2018
 */
public interface ILogsApi {

    /**
     * alternative to the native eth_getLogs Read at EtherScan API description for full info!
     * 
     * @param query build log query
     * @return logs according to query
     * @throws ApiException parent exception class
     *
     * @see io.api.etherscan.model.query.impl.LogQueryBuilder
     */
    @NotNull
    List logs(LogQuery query) throws ApiException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy