@ -18,7 +18,7 @@ struct FetchTransactionsRequest: APIKit.Request {
var baseURL: URL {
let config = Config()
return config.etherScanURL
return config.etherScanAPIURL
}
var method: HTTPMethod {
@ -45,7 +45,7 @@ struct Config {
return URL(string: urlString)!
var etherScanURL: URL {
var etherScanAPIURL: URL {
let urlString: String = {
switch server {
case .main: return "https://api.etherscan.io/api"