web3.js

Return to Glossary

web3.js, also known as web3, is a collection of libraries which allow you to interact with a local or remote Ethereum Node, using an Hypertext Transfer Protocol (HTTP) or Inter-Process Communication (IPC) connection. The web3 JavaScript library interacts with the Ethereum blockchain. It can retrieve user accounts, send transactions, interact with smart contracts, and more.

Web3.js API Type:

eth: Etherum blockchain related methodsnet: Node’s network statuspersonal: Account functions and sendingdb: Get/put for local LevelDBshh: P2P messaging using WhisperSource: https://medium.com/coinmonks/web3-js-ethereum-javascript-api-72f7b22e2f0a