0x0.su Node RPC API
Developer Reference | Updated: 2026-11-28
1. Overview
The 0x0.su platform nodes provide a standard JSON-RPC 2.0 interface compatible with any Ethereum ecosystem tooling (Metamask, Hardhat, web3.js, ethers.js).
- Endpoint:
https://nodes.0x0.su - Method:
POST - Content-Type:
application/json
2. Network Parameters
Values verified against the live RPC (2026-11-28):
| Parameter | Value |
|---|---|
| Chain ID | 2136312 (0x2098f8) |
| Client | ConsenSys Quorum - Geth v1.10.3 (quorum-v24.4.1) |
| Consensus | PoA (IBFT), trusted validators |
| Default Gas Price | 20 Gwei (0x4a817c800) |
| Response format | JSON-RPC 2.0, data in hex |
3. Request Format
All requests are POST with a JSON-RPC body:
{
"jsonrpc": "2.0",
"method": "eth_blockNumber",
"params": [],
"id": 1
}
curl example:
curl -X POST https://nodes.0x0.su \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
Response:
{"jsonrpc":"2.0","id":1,"result":"0xf9c8f"}
Hex numbers convert to decimal: 0xf9c8f is the latest block number, 0x2098f8 = 2136312 is the Chain ID, 0x4a817c800 = 20000000000 wei = 20 Gwei is the gas price.
4. Method Catalog
4.1 Network State
| Method | Params | Result (verified) |
|---|---|---|
eth_chainId |
- | "0x2098f8" (2136312) |
net_version |
- | "2136312" |
web3_clientVersion |
- | "Geth/v1.10.3-stable(quorum-v24.4.1)/linux-amd64/go1.22.4" |
net_peerCount |
- | "0x6" (6 peers) |
eth_syncing |
- | false (node in sync) |
eth_gasPrice |
- | "0x4a817c800" (20 Gwei) |
eth_mining |
- | false (PoA, no mining) |
4.2 Reading the Blockchain
| Method | Params | Description |
|---|---|---|
eth_blockNumber |
- | Latest block number |
eth_getBlockByNumber |
["latest", false] or ["0xf9c8f", false] |
Block with header and tx list; second param - include tx bodies |
eth_getBalance |
["0xADDRESS", "latest"] |
Address balance in wei |
eth_getTransactionByHash |
["0xHASH"] |
Transaction details |
eth_getTransactionReceipt |
["0xHASH"] |
Receipt: status, gas used, logs (after confirmation) |
eth_call |
[txObject, "latest"] |
Read-only contract method call |
eth_getCode |
["0xADDRESS", "latest"] |
Contract bytecode at address |
Example - address balance:
curl -X POST https://nodes.0x0.su \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_getBalance","params":["0x742d35Cc6634C0532925a3b844Bc454e4438f44e","latest"],"id":1}'
# {"jsonrpc":"2.0","id":1,"result":"0x0"}
4.3 Sending Transactions
Transactions are sent via eth_sendRawTransaction: the transaction is first signed locally with a private key (Metamask, ethers.js, web3.js or Hardhat), then the hex signature is submitted to the RPC.
For an ethers.js v6 signing and sending example - see section 5.
Note on eth_sendTransaction: the method formally exists in the RPC but does not work on a public node - there are no unlocked accounts there (eth_accounts returns an empty array). Always use eth_sendRawTransaction.
Cost: at Gas Price 20 Gwei, a simple transaction (21,000 gas) costs 420,000 Gwei = 0.00042 of the 0x0 token. See section 4.4 of the main documentation for complex transaction calculations.
4.4 Disabled Methods
Administrative and debug methods are disabled on the public RPC:
debug_*(debug_nodeInfoetc.) - error-32601admin_*(admin_peersetc.) - error-32601eth_protocolVersion- error-32601
This is standard practice for a public endpoint: debugging and peer management are available only on your own nodes.
5. JavaScript Examples
ethers.js v6 - reading network data:
const { ethers } = require("ethers");
const provider = new ethers.JsonRpcProvider("https://nodes.0x0.su");
async function main() {
const blockNumber = await provider.getBlockNumber();
const feeData = await provider.getFeeData();
const network = await provider.getNetwork();
console.log("Chain ID:", network.chainId); // 2136312n
console.log("Latest block:", blockNumber);
console.log("Gas price:", ethers.formatUnits(feeData.gasPrice, "gwei"), "Gwei"); // 20.0
}
main();
ethers.js v6 - signed transaction via eth_sendRawTransaction:
const { ethers } = require("ethers");
// Key from environment variable - never store keys in code
const provider = new ethers.JsonRpcProvider("https://nodes.0x0.su");
const wallet = new ethers.Wallet(process.env.PRIVATE_KEY, provider);
async function main() {
const tx = await wallet.sendTransaction({
to: "0xRECIPIENT",
value: ethers.parseEther("0.001")
});
console.log("Transaction hash:", tx.hash);
await tx.wait(); // inclusion in a block confirmed
}
main();
web3.js - same reading operations:
const { Web3 } = require("web3");
const web3 = new Web3("https://nodes.0x0.su");
async function main() {
const block = await web3.eth.getBlockNumber();
const chainId = await web3.eth.getChainId();
console.log("Block:", block, "Chain ID:", chainId);
}
main();
6. Useful Links
- Block Explorer - transactions, addresses, contracts
- Explorer API - programmatic data access (section 5.1 of the main documentation)
- Node Monitor - network node status
- Section 4.5 of the main documentation - contract deployment with Hardhat
- Metamask Connection - user guide
Contacts: support@0x0.su