Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 614 Bytes

dlt_get_block_count.md

File metadata and controls

31 lines (25 loc) · 614 Bytes
title type
Get Block Count
dlt

Get Block Count

Returns the number of Ixian blocks generated so far. This function is provided to improve exchange compatibility with Bitcoin-based and derivative technology.

Method: getblockcount

Input parameters:

None

Errors:

Error Description
RPC_INTERNAL_ERROR An unknown error occurred in the node. Please check the node log for details.

Output:

  • success: number of Ixian blocks since the Genesis block

Example:

GET http://localhost:8081/getblockcount

{
	"result": 432178,
	"error": null,
	"id": null
}