eth_mining - Fantom
eth_mining. Indicates whether the node is currently mining (producing) new blocks, returning true if mining is active and false otherwise.
eth_mining - Fantom [Value: 0CU]
Checks if the node is currently mining new blocks
Use cases
- Check if the node is actively mining
- Verify mining status for node operational checks
- Monitor node activity to ensure mining processes
Constraints
- Requires active connection to the node
- Node must support the eth_mining method
- Accurate response depends on node's mining configuration
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key
Language
Request
Examples
curl https://fantom.drpc.org \
-X POST \
-H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","method":"eth_mining","params":[],"id":67}'
Response
200
{
"jsonrpc": "2.0",
"id": 67,
"result": true
}
Request params
idinteger
jsonrpcstring
methodstring
Response
200
Returns true if the node is actively mining, false otherwise.Response params
object
idinteger
jsonrpcstring
resultboolean