JSON-RPC
Endpoint
HTTP: http://localhost:18545 (or https://www.armchain.org/devnet for devnet)
WebSocket: ws://localhost:18546 (or wss://www.armchain.org/devnet for devnet)Request Format
curl -X POST <RPC_URL> \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "<METHOD>",
"params": [<PARAMS>],
"id": 1
}'eth Namespace
eth_blockNumber
eth_getBalance
eth_getTransactionCount
eth_sendRawTransaction
eth_call
eth_estimateGas
eth_getBlockByNumber
eth_getTransactionByHash
eth_getTransactionReceipt
eth_getLogs
eth_chainId
eth_gasPrice
eth_getCode
Other Standard Methods
Method
Description
net Namespace
Method
Description
web3 Namespace
Method
Description
txpool Namespace
Method
Description
personal Namespace
Method
Description
admin Namespace
Method
Description
WebSocket Subscriptions
Subscribe to New Blocks
Subscribe to Logs
Subscribe to Pending Transactions
Unsubscribe
Rate Limits
Further Reading
Last updated