Quick Start
Get started with nodewell in under 5 minutes.
1. Get Your API Key
Enter your email on the main page to receive your free API key instantly.
2. Choose Your Endpoint
| Network | HTTP Endpoint |
|---|---|
| Ethereum Mainnet | https://eth.nodewell.io/v1/YOUR_API_KEY |
3. Make Your First Request
Using cURL
bash
curl -X POST https://eth.nodewell.io/v1/YOUR_API_KEY \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'Using JavaScript
javascript
const response = await fetch('https://eth.nodewell.io/v1/YOUR_API_KEY', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
jsonrpc: '2.0',
method: 'eth_blockNumber',
params: [],
id: 1
})
});
const data = await response.json();
console.log('Current block:', parseInt(data.result, 16));Using ethers.js
javascript
import { ethers } from 'ethers';
const provider = new ethers.JsonRpcProvider(
'https://eth.nodewell.io/v1/YOUR_API_KEY'
);
const blockNumber = await provider.getBlockNumber();
console.log('Current block:', blockNumber);4. Explore More
- Supported Methods — Full list of available RPC methods
- Integration Guides — Framework-specific tutorials
Need Help?
Contact us at [email protected]