Ethereum
nodewell provides full access to Ethereum networks with archive node support.
Supported Methods
All standard Ethereum JSON-RPC methods are supported. See Supported Methods for the complete list.
Common Methods
eth_blockNumber— Latest block numbereth_getBalance— Account balanceeth_getTransactionByHash— Transaction detailseth_call— Execute call without transactioneth_sendRawTransaction— Submit signed transactioneth_getLogs— Query event logs
Code Examples
Connect with ethers.js
javascript
import { ethers } from 'ethers';
const provider = new ethers.JsonRpcProvider(
'https://eth.nodewell.io/v1/YOUR_API_KEY'
);
// Get latest block
const block = await provider.getBlock('latest');
// Get balance
const balance = await provider.getBalance('0x...');
// Read contract
const contract = new ethers.Contract(address, abi, provider);
const result = await contract.someMethod();