rsk

Rsk (RSK)

Method: POST mnr_getWork

dropdown
POST

mnr_getWork

Returns the hash of the current block, the seedHash, and the boundary condition to be met (“target”).

Parameters

-

Request

curl --location --request POST 'https://rsk.getblock.io/mainnet/' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 
--data-raw '{"jsonrpc": "2.0",
"method": "mnr_getWork",
"params": [],
"id": "getblock.io"}'


Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": [
        "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
        "0x5EED00000000000000000000000000005EED0000000000000000000000000000",
        "0xd1ff1c01710000000000000000000000d1ff1c01710000000000000000000000"
    ]
}