hmy_epochLastBlock

hmy_epochLastBlock

Epoch last block

Parameters

  1. Number - epoch

Returns

  • Number - epoch last block height

Sample Curl Request

curl -d '{
    "jsonrpc":"2.0",
    "method":"hmy_epochLastBlock",
    "params":[],
    "id":1
}' -H 'Content-Type:application/json' -X POST 'https://api.s0.b.hmny.io'

Sample Curl Response

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "10"
}

Last updated