package io.emax.heimdal.ethereum.gethrpc;

public interface WalletRpc {
  public String eth_getBalance(String address, String defaultBlock);

  public String eth_getTransactionCount(String address, String defaultBlock);

  public String eth_blockNumber();

  public String eth_sendRawTransaction(String transaction);

  public String eth_sign(String address, String data);
}

package io.emax.heimdal.ethereum.gethrpc;

public interface WalletRpc {
  String eth_getBalance(String address, String defaultBlock);

  String eth_getTransactionCount(String address, String defaultBlock);

  String eth_blockNumber();

  String eth_sendRawTransaction(String transaction);

  String eth_sign(String address, String data);
}

Remove redundant public declaration