BSC / opBNB
Last updated
Last updated
The 4EVERLAND RPC follows the JSON-RPC data format standard for Ethereum and supports all the methods in . This tutorial will provide an example of the request method for . Other methods can be referenced using this example.
The requested URL, combined with the API Key, is as follows:
Endpoint(https): https://bsc-mainnet.4everland.org/v1/{apikey}
Endpoint(wss): wss://bsc-mainnet.4everland.org/ws/v1/{apikey}
Take method as an example
DATA
, 20 Bytes - address to check for balance.
QUANTITY|TAG
- integer block number, or the string "latest"
, "earliest"
or "pending"
By substituting the URL in the example with the endpoints of other networks, you can request content from other networks.
Endpoint(https): https://bsc-testnet.4everland.org/v1/{apikey}
Endpoint(wss): wss://bsc-testnet.4everland.org/ws/v1/{apikey}
Endpoint(https): https://opbnb-mainnet.4everland.org/v1/{apikey}
Endpoint(wss): wss://opbnb-mainnet.4everland.org/ws/v1/{apikey}
Endpoint(https): https://opbnb-testnet.4everland.org/v1/{apikey}
Endpoint(wss): wss://opbnb-testnet.4everland.org/ws/v1/{apikey}
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 , or send us an email at .