Ethereum JavaScript API Web3.js enables easy communication between Ethereum Nodes using internet protocols like WebSocket, HTTP, or IPC.

Web3.js exposes a set of libraries through a Javascript API to interact with Ethereum nodes locally or remotely. The API communicates using JSON-RPC protocol exposed on an HTTP or IPC connection.Web3 JavaScript library is widely used for retrieving Ethereum user accounts, transactions, and smart contracts.