Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit a325689

Browse files
authored
Fixed Typo in web3.js Providers Guide (#6370)
1 parent 9ad39bd commit a325689

File tree

1 file changed

+1
-1
lines changed
  • docs/docs/guides/web3_providers_guide

1 file changed

+1
-1
lines changed

docs/docs/guides/web3_providers_guide/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Actually, the provider could be any of the following:
3333
- An instance of [HttpProvider](/api/web3-providers-http/class/HttpProvider)
3434
- An instance of [WebSocketProvider](/api/web3-providers-ws/class/WebSocketProvider)
3535
- An instance of [IpcProvider](/api/web3-providers-ipc/class/IpcProvider)
36-
- A string containing string url for `http`/`https` or `ws`/`wss` protocol. And when a string is passed, an instance of the compatible class above will be created accordingly. ex. WebSocketProvider instance will be created for string containing `ws` or `ws`. And you access this instance by calling `web3.provider` to read the provider and possibly register an event listener.
36+
- A string containing string url for `http`/`https` or `ws`/`wss` protocol. And when a string is passed, an instance of the compatible class above will be created accordingly. ex. WebSocketProvider instance will be created for string containing `ws` or `wss`. And you access this instance by calling `web3.provider` to read the provider and possibly register an event listener.
3737
- Any provider object that adhere to [EIP-1193](https://eips.ethereum.org/EIPS/eip-1193). And it has been tested with Ganache provider, Hardhat provider, and Incubed (IN3) as a provider.
3838

3939
For both [WebSocketProvider](/api/web3-providers-ws/class/WebSocketProvider) and [IpcProvider](/api/web3-providers-ipc/class/IpcProvider) the user can listen to emitted events. More on this is at [Providers Events Listening](events_listening).

0 commit comments

Comments
 (0)