JSON-RPC Relay
Last updated
Was this helpful?
Last updated
Was this helpful?
The Hiero JSON-RPC Relay is an open-source project implementing the EVM JSON-RPC standard. It allows developers to interact with Hedera nodes using familiar EVM tools, allowing developers and users to deploy, query, and execute contracts as they usually would. Check out the interactive OpenRPC Specification and a simple list of endpoints.
The Hiero 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 Hiero APIs and the decimal places they return.
Anyone in the community can set up their own JSON RPC relay that applications can use to deploy, query, and execute smart contracts. The list of community-hosted Hiero JSON RPC relays and endpoints for previewnet, testnet, and mainnet can be found in the table below, as well as their associated docs or websites.
**🚨Please note: Hashio is For development and testing purposes only. Production use cases are strongly encouraged to use commercial-grade JSON-RPC relays or host their own instance of the Hiero JSON-RPC Relay.
Note: If you want to add your hosted JSON-RPC relay to this list, please open an issue in the Hedera docs GitHub repository. Please visit the community-hosted websites to review any limitations specific to their instance.