Skip to main content
TRON API method that returns the current Ethereum protocol version using Ethereum-compatible JSON-RPC format. This method provides Ethereum tooling compatibility for protocol version identification on TRON.
Get you own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

  • jsonrpc — the JSON-RPC protocol version (always “2.0”)
  • method — the method name (always “eth_protocolVersion”)
  • params — parameters array (empty for this method)
  • id — request identifier (number or string)

Response

  • jsonrpc — the JSON-RPC protocol version (“2.0”)
  • id — the request identifier that matches the request
  • result — the current Ethereum protocol version as a hexadecimal string

Use case

The jsonrpc eth_protocolVersion method is used for:
  • Identifying the Ethereum protocol version for compatibility with Ethereum tools
  • Supporting multi-protocol applications that need to adapt to different versions
  • Enabling Ethereum-compatible wallet and dApp integration with TRON
  • Providing protocol version information for debugging and development tools