跳转至主要内容

platform.getSubnets RPC Method

正在加载...

更新于
Apr 29, 2026

platform.getSubnets RPC Method

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

参数

ids
数组
正在加载...

退货

subnets
数组
正在加载...
id
字符串
正在加载...
controlKeys
数组
正在加载...
key
字符串
正在加载...
threshold
字符串
正在加载...
请求
回复
1
{
2
“jsonrpc”: "2.0",
3
"result": {
4
"subnets": [
5
{
6
"id": "11111111111111111111111111111111LpoYY",
7
"controlKeys": [],
8
"threshold": "0"
9
}
10
]
11
},
12
"id": 1
13
}
1
{
2
“jsonrpc”: "2.0",
3
"result": {
4
"subnets": [
5
{
6
"id": "11111111111111111111111111111111LpoYY",
7
"controlKeys": [],
8
"threshold": "0"
9
}
10
]
11
},
12
"id": 1
13
}
还没有账号吗?
只需几秒钟即可创建您的 Quicknode 端点,并开始构建
免费开始使用