Eth_getWork

Get work for mining

post

Sends a JSON-RPC request to get work for mining. Returns an array with: 1. powHash – 32-byte hash of the block header. 2. seedHash – seed used for the DAG. 3. target – boundary condition (difficulty target).

Authorizations
api-keystringRequired
Body
jsonrpcstringRequiredExample: 2.0
methodstringRequiredExample: eth_getWork
idintegerRequiredExample: 73
Responses
chevron-right
200

Work package or error message

application/json
jsonrpcstringOptionalExample: 2.0
idintegerOptionalExample: 73
resultstring[] · nullableOptional

Array containing: 1. powHash – 32-byte hash 2. seedHash – seed hash 3. target – target boundary

post
/
200

Work package or error message

Last updated