Skip to content

Commit 5c3652b

Browse files
committed
fix eth method
1 parent 25dc43c commit 5c3652b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func spelunkData(value: Any?) -> (message: String, data: String)? {
7676

7777
extension APIRequest {
7878
public static func sendRequest<Result>(with provider: Web3Provider, for call: APIRequest) async throws -> APIResponse<Result> {
79-
try await send(call.method.rawValue, parameter: call.parameters, with: provider)
79+
try await send(call.call, parameter: call.parameters, with: provider)
8080
}
8181

8282
static func setupRequest(for body: RequestBody, with provider: Web3Provider) -> URLRequest {

0 commit comments

Comments
 (0)