Skip to content

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 number
  • eth_getBalance — Account balance
  • eth_getTransactionByHash — Transaction details
  • eth_call — Execute call without transaction
  • eth_sendRawTransaction — Submit signed transaction
  • eth_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();