get_block_height
Return the current chain tip.
Params
None (use null, {}, or []).
Result
{
"height": 5553,
"block_id": "5c1b9e...e7"
}
Example
curl -s -X POST http://127.0.0.1:9334 \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"get_block_height","id":1}'