Taiko
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 illustrate the request method for the eth_getBalance
as an example. Other methods can be referenced using this example.
API Endpoints
The requested URL, combined with the API Key, is as follows:
Endpoint(https): https://opt-mainnet.4everland.org/v1/{apikey}
Endpoint(wss): wss://taiko-mainnet.4everland.org/ws/v1/{apikey}
Example
Take eth_getBalance
method as an example
Parameters
DATA
, 20 Bytes - address to check for balance.QUANTITY|TAG
- integer block number, or the string"latest"
,"earliest"
or"pending"
Request Example
Response Example
Networks
By replacing the URL in the example with endpoints from other networks, you can request content from other networks.
Helka
Endpoint(https): https://taiko-hekla.4everland.org/v1/{apikey}
Endpoint(wss): wss://taiko-hekla.4everland.org/ws/v1/{apikey}
Block range limitaion
When considering the block range, it is important to note that the response size for the getFilterLogs
and getLogs
methods varies accordingly. Specifically:
Block range exceeding 50K: Unavailable for querying.
Block range less than or equal to 100: Experiences no limitation on response size.
Block range falling between 100 and 50K: At most, 50K records will be provided in the response.
If you have any questions, please join our Discord server, or send us an email at contact@4everland.org.
Last updated