miner

The miner API is responsible to provide remote control the node's mining operation and set various mining specific settings.

miner_getHashrate

Get hashrate in H/s (Hash operations per second).

miner_setExtra

Sets the extra data a miner can include when miner blocks. This is capped at 32 bytes.

miner_setGasPrice

Sets the minimal accepted gas price when mining transactions. Any transactions that are below this limit are excluded from the mining process.

miner_setRecommitInterval

Updates the interval for recomitting the miner sealing work.

miner_start

Start the CPU mining process.

miner_stop

Stop the CPU mining operation.

miner_setEtherbase

Sets the etherbase, where mining rewards will go.

miner_setGasLimit

Sets the gas limit the miner will target when mining. Note: on networks where EIP-1559 is activated, this should be set to twice the gas target (i.e. the effective gas used on average per block) to be.

Last updated