Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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}'