ltc

Litecoin (LTC)

Method: POST getwork

dropdown
POST

getwork

Method not allowed

If data is not specified, returns formatted hash data to work on midstate, data, hash1, target.

If data is specified, tries to solve the block and returns true if it was successful.

Parameters

data - string, optional

Data

Request

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


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}