Alchemy Logo

eth_submitWork

POST
/{apiKey}

Submit a proof-of-work solution (Ethash) consisting of a nonce, the header PoW hash, and the mix digest. Not supported on post-Merge Ethereum clients; many nodes will return JSON-RPC error -32601 (method not found).

Path Parameters

apiKeystringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

noncestringformat: "^0x[0-9a-f]{16}$"required

The 8-byte nonce found by the miner.

hashstringformat: "^0x[0-9a-f]{64}$"required

The block header's PoW hash (32-byte).

digeststringformat: "^0x[0-9a-f]{64}$"required

The mix digest (32-byte).

Responses

200

Returns `true` if the provided solution is valid, otherwise `false`.

Was this page helpful?