Skip to content

Commit fa80d43

Browse files
Implement GetLogs call.
Now all tests are green.
1 parent 23ef94a commit fa80d43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/web3swift/API/APIMethod.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,9 @@ extension APIRequest {
122122
case .personalSign: return Data.self
123123
case .getTxPoolStatus: return TxPoolStatus.self
124124
case .getTxPoolContent: return TxPoolContent.self
125+
case .getLogs: return [EventLog].self
125126

126127
// FIXME: Not implemented
127-
case .getLogs: return String.self
128128
case .getStorageAt: return String.self
129129
case .getTxPoolInspect: return String.self
130130
}

0 commit comments

Comments
 (0)