API Reference
JSON-RPC
Standard Ethereum JSON-RPC over HTTPS.
| Endpoint | https://rpc.vordium.com |
|---|---|
| Method | POST |
| Content-Type | application/json |
Get block number
curl -X POST https://rpc.vordium.com \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "eth_blockNumber",
"params": [],
"id": 1
}'Response:
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x155a76"
}Get balance
curl -X POST https://rpc.vordium.com \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "eth_getBalance",
"params": ["0x...", "latest"],
"id": 1
}'Get chain ID
curl -X POST https://rpc.vordium.com \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "eth_chainId",
"params": [],
"id": 1
}'Response: {"result": "0xae3f2"}