Don't miss Build Games$1M Builder Competition
Chain info

platform.getProposedHeight

GetProposedHeight returns the current ProposerVM height

POST
/ext/bc/P#platform.getProposedHeight

Request Body

application/json

JSON-RPC request

jsonrpc*string
method*string
params*object
id*integer

Response Body

application/json

application/json

curl -X POST "https://api.avax.network/ext/bc/P#platform.getProposedHeight" \  -H "Content-Type: application/json" \  -d '{    "jsonrpc": "2.0",    "method": "platform.getProposedHeight",    "params": {},    "id": 1  }'
{
  "jsonrpc": "2.0",
  "result": {},
  "id": 1
}
{
  "jsonrpc": "2.0",
  "error": {
    "code": 0,
    "message": "string",
    "data": {}
  },
  "id": 1
}

Is this guide helpful?