跳至主要內容

platform.getHeight RPC Method

載入中...

更新於
2026年4月29日

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.

參數

此方法不接受任何參數

退貨

高度
整數
載入中...
請求
回應
1
{
2
"jsonrpc": "2.0",
3
"result": {
4
"height": "1773310"
5
},
6
"id": 1
7
}
1
{
2
"jsonrpc": "2.0",
3
"result": {
4
"height": "1773310"
5
},
6
"id": 1
7
}
還沒有帳號嗎?
只需幾秒鐘即可建立您的 Quicknode 端點,並開始建置
立即免費開始使用