The 4EVERLAND RPC request data format follows the Ethereum standard JSON-RPC and supports all methods specified in the Ethereum JSON RPC. This tutorial will provide an example of the request format for the eth_getBalance method, which can be used as a reference for other methods.
API Endpoints, which represent the request URLs, are as follows:
Endpoint (https):{apikey}
Endpoint (wss): wss://{apikey}


Take the eth_getBalance method as an example


  1. 1.
    DATA, 20 Bytes - address to check for balance.
  2. 2.
    QUANTITY|TAG - integer block number, or the string "latest", "earliest" or "pending"
params: ["0x407d73d8a49eeb85d32cf465507dd71d507100c1", "latest"]

Request Example

curl --request POST \
--url \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
"id": 1,
"jsonrpc": "2.0",
"params": [
"method": "eth_getBalance"

Response Example

"jsonrpc": "2.0",
"id": 1,
"result": "0x2eb9bcf4ec145"


By replacing the URL in the example with the endpoints of other networks, you can request content from other networks.


Endpoint(wss): wss://{apikey}
If you have any questions, please join our Discord server, or send us an email at [email protected].
Last modified 3mo ago