All pages
Powered by GitBook
1 of 1

Loading...

hmy_isLastBlock

hmy_isLastBlock

Is block epoch last block

Parameters

  1. Number - block height

Returns

  • Bool - true if block epoch last block

Sample Curl Request

Sample Curl Response

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