跳转至主要内容

platform.getHeight RPC Method

正在加载...

更新于
Apr 29, 2026

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 端点,并开始构建
免费开始使用