Skip to main content

Parameters

chainId
string
default:"5000"
required
Unique identifier for a blockchain network.
id
number
default:1
required
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"eth_submitHashrate"
required
JSON-RPC method name.
params
object
required
Parameters for eth_submitHashrate: [hashrate, id].Positional parameters for eth_submitHashrate:
  • params[0]: Data - a hexadecimal string representation (32 bytes) of the hash rate.
  • params[1]: Data - A random hexadecimal(32 bytes) ID identifying the client.

Returns

result
boolean
Boolean - Returns true if submitting hash rate was successful. Example: true.