ltc

Litecoin (LTC)

Method: POST getbestblockhash

dropdown
POST

getbestblockhash

Returns the hash of the newest block in the longest block chain.

Parameters

-

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": "getbestblockhash",
"params": [],
"id": "getblock.io"}'


Response

{
    "error": null,
    "id": "getblock.io",
    "result": "2470db94de40d277ad7a380b721a99b3e29a924321292391b30c4ba9fd305e3b"
}