hmy_getEpoch
Description
hmy_getEpoch returns current epoch of shard
Parameters
API v1
Returns
String
- Current requested node shard epoch 0x format
Sample Curl Request
Sample Curl Response
API v2
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>)"
Last updated