Web3.js

Blockchain

Web3.js is the original and most widely-used JavaScript library for interacting with the Ethereum blockchain and any Ethereum Virtual Machine (EVM)-compatible chain (Polygon, BSC, Base, Arbitrum, and others) from a web or Node.js application. It wraps the JSON-RPC calls that a blockchain node exposes into a friendlier JavaScript API for reading on-chain data (account balances, transaction history, smart contract state), sending transactions, and calling smart contract functions once a contract's ABI (interface definition) is provided.

free

RPC Endpoint

Varies by provider

✓ Available

Best For

DApp developers needing mature, well-documented Ethereum tooling

Pricing

Requires a separate RPC provider (Infura/Alchemy/Ankr or self-hosted node) to reach the network

Key Highlights

  • Most mature Ethereum JS library
  • Works with any EVM-compatible chain
  • Smart contract read/write via ABI
  • MetaMask/wallet integration
  • Large ecosystem of tutorials/examples

Required Access Documents

  • RPC EndpointRequired
    Infura, Alchemy, or local node

Use Cases

  • DApp Development:Build decentralized applications

Discover similar API's

View All Alternatives →