Skip to main content

Blocks API

Endpoints for querying block information and blockchain status.

Blockchain Status​

EndpointDescriptionMethod
getBlockchainStatusGet blockchain statusGET

Block Queries​

EndpointDescriptionMethod
getBlockGet block by ID/heightGET
getBlockIdGet block ID at heightGET
getBlocksGet blocks by height rangeGET
getECBlockGet EC block by timestampGET

Time​

EndpointDescriptionMethod
getTimeGet server timeGET
getEpochTimeConvert Unix time to epoch timeGET

Utilities​

EndpointDescriptionMethod
getConstantsGet network constantsGET

Source Files​

All block-related endpoints are implemented in the GetBlock.java family of classes and documented via JSONData.block().

Tags​

BLOCKS