OP Mainnet
eth_mining5 créditos
Returns true if the client is actively mining new blocks.
Parámetros
No se requieren parámetros (arreglo params vacío).
Valor devuelto
Tipo
boolean
Mining status.
Ejemplos de código
curl https://holy-burned-sky-optimism-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7 \
-X POST \
-H 'content-type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_mining",
"params": []
}'