platform.getHeight
Returns the height of the last accepted block.
This method will use 10 Compute Units.
Reference: Here
Parameters
None
Returns
height - int
// Result
{
"jsonrpc": "2.0",
"result": {
"height": "56"
},
"id": 1
}Last updated
Was this helpful?