Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
GetShardingStructure
hmy_latestHeader
None
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
Net_PeerCount
Gets the number of peers on the network.
Sample Curl Request
Sample Curl Response
hmy_getEpoch returns current epoch of shard
Returns
String
- Current requested node shard epoch 0x format
Sample Curl Request
Sample Curl Response
Returns
uint64
- Current requested node shard epoch decimal format
Sample Curl Request
Sample Curl Response
If Node.js is installed on your system, one easy way to convert hexadecimal balances into a more readable decimal format is to run node -e "console.log(<balance>)"