Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 537 Bytes

core_block_height.md

File metadata and controls

30 lines (24 loc) · 537 Bytes
title type
Get Block Height
core

Get Block Height

Returns the number of Ixian blocks generated so far, usually named 'Block Height'.

Method: blockheight

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/blockheight

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