JSON-RPC Relay

The Hedera JSON-RPC Relay is an open-source project that implements the Ethereum JSON-RPC standard. The JSON-RPC relay allows developers to interact with Hedera nodes using familiar Ethereum tools. This allows Ethereum developers and users to deploy, query, and execute contracts as they usually would. Check out the interactable OpenRPC Specification and a simple list of endpoints. The Hedera JSON-RPC relay implementation is in beta, offers limited functionality today, and is only available to developers.

HBAR decimal places

The JSON RPC Relay msg.value uses 18 decimals when it returns HBAR. As a result, the gasPrice value returns 18 decimal places since it is only utilized from the JSON RPC Relay. Refer to the HBAR page for a list of Hedera APIs and the decimal places they return.

Community Hosted JSON-RPC Relays

Anyone in the community can set up their own JSON RPC relay that applications can use to deploy, query, and execute smart contracts. The endpoints for previewnet, testnet, and mainnet can be found in their associated docs or website. You will find the list of community-hosted Hedera JSON RPC Relays below. If you want to add your hosted JSON RPC relay to this list, please open an issue in the Hedera docs GitHub repository. Please be sure to visit the community-hosted websites to review any limitations specific to their instance.

FAQs

Are there Community hosted relays?
How many decimals are there in HBAR?

Check out the HBAR page for the full list of Hedera APIs and their decimal representation.

How can I contribute feedback or log errors?

To contribute feedback or log errors, please refer to the Contributing Guide and submit them as issues in the GitHub repository.

Last updated

Was this helpful?

#2165: #325 update writer/author cards

Change request updated