Skip to content

JsonRpcApiProviderOptions for WebSocketProvider and IpcSocketProvider #4418

@z0y1

Description

@z0y1

Describe the Feature

without JsonRpcApiProviderOptions,WebSocketProvider/IpcSocketProvider can not set cacheTimeout or staticNetwork options。

Code Example

const network = ethers.Network.from(1);
const provider = new ethers.WebSocketProvider('ws://127.0.0.1:8546', network, { cacheTimeout: -1, staticNetwork: network });

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or improvement.fixed/completeThis Bug is fixed or Enhancement is complete and published.v6Issues regarding v6

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions