Skip to main content

eth_getWork

Returns the hash of the current block, the seedHash, and the boundary condition to be met (“target”).

Params

(0)

Result

(Current work)
array
string
Match pattern:
^0x[0-9a-f]{64}$
string
Match pattern:
^0x[0-9a-f]{64}$
string
Match pattern:
^0x[0-9a-f]{64}$

Request

await window.ethereum.request({
"method": "eth_getWork",
"params": []
});