hmy_latestHeader

hmy_latestHeader

Parameters

None

Returns

  • blockHash - String - block hash

  • blockNumber - Number - block number

  • shardID - Number - shard id

  • leader - String - leader address

  • viewID - Number - current blockchain view of validators

  • epoch - Number - blockchain epoch

  • timestamp - Date - block generation timestamp date

  • unixtime - Number - block generation time in Unix time

  • lastCommitSig - String - BLS validators signature for the block

  • lastCommitBitmap - String - last commit bitmap for block signers

Sample Curl Request

Same Curl Response

Last updated

Was this helpful?