How to get started building on Ethereum and using the JSON-RPC API
You'll need to create a free All That Node account first!
What is the Ethereum?
Ethereum is an open-source, decentralized blockchain network, the first computing platform for smart contracts and decentralized applications. It is made up of many communities, and a set of tools which enable people to transact and communicate without being controlled by a central authority. There is no need to hand over all your personal details to use Ethereum - you keep control of your own data and what is being shared.
Which API can I use on Ethereum?
The Ethereum supports JSON-RPC API and Websocket API which allows applications to connect to an Ethereum node, a part of the Ethereum blockchain. You can interact with any on-chain data and send different types of transactions to the network by utilizing the endpoints provided by the API.
- JSON-RPC API is a stateless, lightweight, remote procedure call (RPC) protocol that is commonly used when interacting with most of blockchains.
- Websocket API allows to create real-time application which are faster and require less overhead than JSON-RPC API.
For more information on Ethereum, please check out the official documentation.
Endpoints
Supported Clients
NOTE: All That Node supports Geth, and Erigon client.
Network | ChainId | Endpoint |
---|---|---|
Mainnet | 0x1 (1) | https://ethereum-mainnet-rpc.allthatnode.com/'YOUR-API-KEY' |
Goerli | 0x5 (5) | https://ethereum-goerli-rpc.allthatnode.com/'YOUR-API-KEY' |
Sepolia | 0xaa36a7 (11155111) | https://ethereum-sepolia-rpc.allthatnode.com/'YOUR-API-KEY' |
*Sign in and find 'YOUR-API-KEY' by going to the dashboard(Dashboard > Project Detail Page).
Sample
Request
curl https://ethereum-mainnet-rpc.allthatnode.com/'YOUR-API-KEY' \
-X POST \
-H "Content-Type: application/json" \
-d '{ "jsonrpc":"2.0", "method":"eth_syncing", "params":[], "id":1 }'
Response
{
"jsonrpc": "2.0",
"result": false,
"id": 1
}