curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/jsonrpc \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"method": "eth_getWork",
"params": [],
"id": 73
}
'{
"jsonrpc": "2.0",
"id": 73,
"result": [
"<string>"
]
}curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/jsonrpc \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"method": "eth_getWork",
"params": [],
"id": 73
}
'{
"jsonrpc": "2.0",
"id": 73,
"result": [
"<string>"
]
}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)jsonrpc — the JSON-RPC protocol version (“2.0”)id — the request identifier that matches the requestresult — array containing work data: [current block hash, seed hash, boundary condition] or nulljsonrpc eth_getWork method is used for:
Was this page helpful?