Skip to main content
POST
krnx_submitWork

Body

application/json
id
integer
required
Example:

1

jsonrpc
enum<string>
required
Available options:
2.0
Example:

"2.0"

method
enum<string>
required
Available options:
krnx_submitWork
Example:

"krnx_submitWork"

params
array
required

Positional parameters: 1. nonce (string, required). 2. hash (string, required). 3. digest (string, required). 4. extraNonceStr (string, optional).

Required array length: 3 - 4 elements

Response

200 - application/json

JSON-RPC response

error
object

Present instead of result when the call fails.

id
integer
Example:

1

jsonrpc
string
Example:

"2.0"

result
boolean