POST
/
95e61622bf6a8af293978377718e3b77
/
jsonrpc
/
eth_getWork
eth_getWork
curl --request POST \
  --url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/jsonrpc/eth_getWork \
  --header 'Content-Type: application/json' \
  --data '{
  "jsonrpc": "2.0",
  "method": "eth_getWork",
  "params": [],
  "id": "<string>"
}'
{
  "jsonrpc": "2.0",
  "id": 73,
  "result": [
    "<string>"
  ]
}
TRON API method that returns the hash of the current block, the seed hash, and the boundary condition using Ethereum-compatible JSON-RPC format. This method provides Ethereum tooling compatibility for mining-related operations 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_getWork”)
  • 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 — array containing work data: [current block hash, seed hash, boundary condition] or null

Use case

The jsonrpc eth_getWork method is used for:
  • Supporting Ethereum-compatible mining pool integration on TRON
  • Providing work data for proof-of-work mining operations with Ethereum tools
  • Enabling existing Ethereum mining software to work with TRON networks
  • Supporting mining pool management and monitoring applications

Body

application/json

Response

200 - application/json

Work data or null if not available

The response is of type object.