Skip to main content

eth_mining RPC Method

Returns true if node is actively mining new blocks.

Updated on
Jul 17, 2024

eth_mining RPC Method

Parameters

This method does not accept any parameters

Returns

result
It is true if the node is mining, otherwise false
Request
1
curl https://docs-demo.camp-sepolia.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"jsonrpc":"2.0","method":"eth_mining","params":[],"id":1}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free