alloy-rs / alloy

Transports, Middleware, and Networks for the Alloy project
https://alloy.rs
Apache License 2.0
667 stars 241 forks source link

feat: get_filter_logs in Provider trait #1684

Closed eshaan7 closed 4 days ago

eshaan7 commented 4 days ago

Related: #1681.

Motivation

Right now cannot call eth_getFilterLogs JSON-RPC method without using raw_request which is not ideal.

Solution

Adds a new get_filter_logs method to Provider trait.

PR Checklist