Skip to main content

eth_mining RPC Method

Returns true if node is actively mining new blocks.

Updated on
Sep 3, 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.b3-mainnet.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"jsonrpc":"2.0","method":"eth_mining","params":[],"id":67}'
5
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free