File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -318,7 +318,7 @@ WebSocketProvider
318318
319319 Under the hood, the ``WebSocketProvider `` uses the python websockets library for
320320 making requests. If you would like to modify how requests are made, you can
321- use the ``websocket_kwargs `` to do so. See the `websockets documentation `_ for
321+ use the ``websocket_kwargs `` to do so. See the `websockets connection `_ docs for
322322 available arguments.
323323
324324
Original file line number Diff line number Diff line change @@ -1728,10 +1728,10 @@ appropriately in the following way:
17281728
17291729.. code-block :: python
17301730
1731- from web3 import Web3, WebSocketProvider
1731+ from web3 import Web3, HTTPProvider
17321732 from web3.utils import handle_offchain_lookup
17331733
1734- w3 = Web3(WebSocketProvider (... ))
1734+ w3 = Web3(HTTPProvider (... ))
17351735
17361736 myContract = w3.eth.contract(address = ... )
17371737 myData = b ' data for offchain lookup function call'
Original file line number Diff line number Diff line change 1+ Removal of the deprecated ``LegacyWebSocketProvider ``.
You can’t perform that action at this time.
0 commit comments