JSON-RPC Namespaces
miner
The miner API is responsible to provide remote control the node’s mining operation and set various mining specific settings.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
| CLIENT | METHOD INVOCATION |
|---|---|
| Console | miner.getHashrate() |
| RPC | {“method”: “miner_getHashrate”, “params”: []} |
| CLIENT | METHOD INVOCATION |
|---|---|
| Go | miner.setExtra(extra string) (bool, error) |
| Console | miner.setExtra(string) |
| RPC | {“method”: “miner_setExtra”, “params”: [string]} |
| CLIENT | METHOD INVOCATION |
|---|---|
| Go | miner.setGasPrice(number *rpc.HexNumber) bool |
| Console | miner.setGasPrice(number) |
| RPC | {“method”: “miner_setGasPrice”, “params”: [number]} |
| CLIENT | METHOD INVOCATION |
|---|---|
| Console | miner.setRecommitInterval(interval int) |
| RPC | {“method”: “miner_setRecommitInterval”, “params”: [number]} |
| CLIENT | METHOD INVOCATION |
|---|---|
| Go | miner.Start() error |
| Console | miner.start() |
| RPC | {“method”: “miner_start”, “params”: []} |
| CLIENT | METHOD INVOCATION |
|---|---|
| Go | miner.Stop() bool |
| Console | miner.stop() |
| RPC | {“method”: “miner_stop”, “params”: []} |
| CLIENT | METHOD INVOCATION |
|---|---|
| Go | miner.SetEtherbase(common.Address) bool |
| Console | miner.setEtherbase(address) |
| RPC | {“method”: “miner_setEtherbase”, “params”: [address]} |
| CLIENT | METHOD INVOCATION |
|---|---|
| Go | miner.SetGasLimit(number *rpc.HexNumber) bool |
| Console | miner.SetGasLimit(number) |
| RPC | {“method”: “miner_setGasLimit”, “params”: [number]} |
