eth_mining Ethereum
The eth_mining method checks if the client is actively mining new blocks. It is useful for monitoring mining status in Ethereum systems and indicates that Besu pauses mining during synchronization
Supported Networks
Parameters
Request
https://go.getblock.io/<ACCESS-TOKEN>/curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/' \
--header 'Content-Type: application/json' \
--data-raw '{
"jsonrpc": "2.0",
"method": "eth_mining",
"params": [],
"id": "getblock.io"
}'wscat -c wss://go.getblock.io/<ACCESS-TOKEN>/
# wait for connection and send the request body
{"jsonrpc": "2.0",
"method": "eth_mining",
"params": [],
"id": "getblock.io"}Response
Response Description
Use Case
Code Example
Common Errors
Last updated
Was this helpful?