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
jsonrpc
enum<string>
default:2.0
required
Available options:
2.0
method
enum<string>
default:eth_getWork
required
Available options:
eth_getWork
params
any[]
required
Required array length: 0 element
id
default:73
required

Response

200 - application/json

Work data or null if not available

jsonrpc
string
Example:

"2.0"

id
Example:

73

result
string[] | null

Array containing [current block hash, seed hash, boundary condition] or null