platform.getHeight RPC Method
To use the platform.getHeight method on the P-Chain, ensure that the end of your URL includes ext/bc/P.
Parameters
This method does not accept any parameters
Returns
height
integer
Loading...
Request
Response
1{2"jsonrpc": "2.0",3"result": {4"height": "1773310"5},6"id": 17}
1{2"jsonrpc": "2.0",3"result": {4"height": "1773310"5},6"id": 17}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free