alloy
alloy copied to clipboard
Add a TraceRpc helper type for configuring the trace kind argument
cc @mattsse my guess is we could also return a builder that's called `TraceRpcWithBlock` or similar? since we default to `["trace"]` most times?
Originally posted by @gakonst in https://github.com/alloy-rs/alloy/pull/818#discussion_r1624830808
similar to
https://github.com/alloy-rs/alloy/blob/2bff1dd43fb752c15f6179f2bfcebf4c3e0a227d/crates/provider/src/provider/with_block.rs#L164-L164