Links
Comment on page

platform.getHeight

Returns the height of the last accepted block.

Signature​​

platform.getHeight() ->
{
height: int,
}

Example

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
}