Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request POST \ --url 'https://api.avax.network/ext/bc/P#platform.getHeight' \ --header 'Content-Type: application/json' \ --data ' { "jsonrpc": "2.0", "method": "platform.getHeight", "params": {}, "id": 1 } '
{ "jsonrpc": "2.0", "result": {}, "id": 1 }
GetHeight returns the height of the last accepted block
JSON-RPC request
"2.0"
"platform.getHeight"
{}
1
Successful response
Method result
Was this page helpful?