POSTeth_getWork

Tron Mainnethttps://tron-mainnet.nodit.io/

Returns the hash of the current block. Ethereum returns mining work information, but TRON puts only the current block hash in the first entry and returns null for the remaining two entries.

Request Body
idintegerrequired
jsonrpcstringrequired
methodstringrequired
paramsobject[]required

This method takes no parameters. Pass an empty array.

Responses

No response body.

X-API-KEY
RequestCU10
cURL
curl -X POST "https://tron-mainnet.nodit.io/" \
  -H "X-API-KEY: {YOUR_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "eth_getWork"
  }'
Response
Example · 200
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": [
    "0x00000000051e8840887633e01d4bbef8bc79e3389cf29cea2ee85a7fe7cf4bce",
    null,
    null
  ]
}