diff --git a/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift b/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift index 95ae1320b..83773275d 100644 --- a/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift +++ b/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift @@ -88,8 +88,8 @@ extension APIRequest { return urlRequest } - public static func send(_ method: String, parameter: [Encodable], with provider: Web3Provider) async throws -> APIResponse { - let body = RequestBody(method: method, params: parameter) + public static func send(_ method: String, parameters: [Encodable], with provider: Web3Provider) async throws -> APIResponse { + let body = RequestBody(method: method, params: parameters) let uRLRequest = setupRequest(for: body, with: provider) let data: Data