Web3 Clients
web3.js
You can connect to Blast by instantiating a new web3.js Web3
object with a RPC URL of the Blast network.
Mainnet
const { Web3 } = require('web3');
const web3 = new Web3('https://rpc.blast.io');
See Network Information for additional mainnet RPC endpoints.
Testnet
const { Web3 } = require('web3');
const web3 = new Web3('https://sepolia.blast.io');