Blocks Header Information

Litecoin Blockchain Blocks Information.

Block Header Information (API referencearrow-up-right)

GET /api/Blocks/get-block-header

Get a request to fetch block header information on the Litecoin blockchain

Query Parameters

Name
Type
Description

BlockHash*

String

Block hash

Headers

Name
Type
Description

Content-Type

application/json

Authorization*

Bearer <your api key>

Attach your API key here

Usev2*

String

Value should be true or yes

Block header Information with Javascript SDK

Liaas SDK package installation

/** 
 * Blocks Header Information on Litecoin Blockchain
**/
 
//pass your API key or Node URL
const response = await liaasSdk.blockHeader(nodeUrl_or_apiAccessKey, blockhash);

Last updated

Was this helpful?