BerylDocs
Search…
⌃K
🌐

API

How to gather API data reading the node.
We will be using the GETH playground for api calling.
Make sure your readings are set to HTTP
Find the API call you are looking for, click on "TRY IT NOW"
Set it to HTTP, type in the Berylbit RPC URL which is https://mainnet.berylbit.io then click the play button
*If it sends in errors or bad requests refresh the page and try again*
Now that we got our result, it gives the result in Hexadecimal format. Using this website - https://www.rapidtables.com/convert/number/hex-to-decimal.html I can find the Berylbit gas fee on the network
Here is a example of me finding out the Chain ID from API calling and decoding the HEX to decimal