We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7158067 commit 8e4d015Copy full SHA for 8e4d015
src/eth.rs
@@ -147,6 +147,13 @@ pub struct Provider {
147
}
148
149
impl Provider {
150
+ /// Instantiate a new provider.
151
+ pub fn new(chain_id: u64, request_timeout: u64) -> Self {
152
+ Self {
153
+ chain_id,
154
+ request_timeout,
155
+ }
156
157
/// Sends a request based on the specified `EthAction` and parses the response.
158
///
159
/// This function constructs a request targeting the Ethereum distribution system, serializes the provided `EthAction`,
0 commit comments