跳转至主要内容

platform.getValidatorsAt RPC Method

正在加载...

更新于
Apr 29, 2026

platform.getValidatorsAt RPC Method

To use the platform.getValidatorsAt method on the P-Chain, ensure that the end of your URL includes ext/bc/P.

参数

高度
整数
正在加载...
subnetID
字符串
正在加载...

退货

结果
对象
正在加载...
验证者
对象
正在加载...
NodeID
字符串
正在加载...
weight
整数
正在加载...
请求
回复
1
{
2
“jsonrpc”: "2.0",
3
"result": {
4
"NodeID-2a7BPY7UeJv2njMuyUHfBSTeQCYZj6bwV": {
5
"publicKey": null,
6
"weight": "198092089900240970"
7
},
8
"NodeID-2hCHs6H4Vde8mdGGKidMvT4Fjit7goCBT": {
9
"publicKey": null,
10
"weight": "27491992221124000"
11
}
12
},
13
"id": 1
14
}
1
{
2
“jsonrpc”: "2.0",
3
"result": {
4
"NodeID-2a7BPY7UeJv2njMuyUHfBSTeQCYZj6bwV": {
5
"publicKey": null,
6
"weight": "198092089900240970"
7
},
8
"NodeID-2hCHs6H4Vde8mdGGKidMvT4Fjit7goCBT": {
9
"publicKey": null,
10
"weight": "27491992221124000"
11
}
12
},
13
"id": 1
14
}
还没有账号吗?
只需几秒钟即可创建您的 Quicknode 端点,并开始构建
免费开始使用