📝 Share Your Feedback on Twitter and Claim 1M Free GetBlock Requests

ltc
Litecoin (LTC)

Method: POST getblockhash

dropdown

方法 RPC getblockhash 例如 Litecoin (LTC)

POST getblockhash

在索引处返回最佳区块链中区块的哈希值;索引 0 是创世区块

Parameters

index - 数字,必填

身高指数

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


Response

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