Skip to content

feat(cast): support websocket rpc urls #5022

@bernard-wagner

Description

@bernard-wagner

Component

Cast

Describe the feature you would like

Allow providing a websocket URL for JsonRpcProvider when using cast.

cast block --rpc-url wss://localhost:8545 latest

Hopefully this will enable additional features such as streaming of events.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions