Skip to main content

eth_submitWork RPC Method

Used for submitting a proof-of-work solution.

Updated on
Nov 2, 2023

eth_submitWork RPC Method

Parameters

nonce
string
REQUIRED
The nonce found
hash
string
REQUIRED
The header's pow-hash
digest
string
REQUIRED
The mix digest

Returns

result
It returns true if the provided solution is valid otherwise false
Request
1
curl https://docs-demo.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
-d '{"jsonrpc":"2.0","method":"eth_submitWork","params": ["0x0000000000000001","0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef","0xD1FE5700000000000000000000000000D1FE5700000000000000000000000000"],"id":1}'
5
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free