Skip to main content

eth_mining RPC Method

Returns true if node is actively mining new blocks.

Updated on
Nov 2, 2023

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.scroll-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