Skip to main content

eth_getWork

Overview

The "eth_getWork" method returns the hash of the current block, the seedHash, and the boundary condition to be met ("target")

Request

curl --request POST \
--url https://ethereum-mainnet-geth-archive.node.coinapi.io \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'X-CoinAPI-Key: 73034021-THIS-IS-SAMPLE-KEY' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_getWork"
}'

Request Parameters

Response

{
"jsonrpc": "2.0",
"id": 1,
"error": {
"code": -32601,
"message": ""
}
}