Comment on page
platform.getHeight
Returns the height of the last accepted block.
platform.getHeight() ->
{
height: int,
}
Request
curl -X POST --data '{
"jsonrpc": "2.0",
"method": "platform.getHeight",
"params": {},
"id": 1
}' -H 'content-type:application/json;' https://ava-mainnet.blastapi.io/<project-id>/ext/P
Result
{
"jsonrpc": "2.0",
"result": {
"height": "1341183"
},
"id": 1
}
Last modified 1yr ago