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
陣列
載入中...
關鍵字
字串
載入中...
threshold
字串
載入中...
請求
回應
1{2"jsonrpc": "2.0",3"result": {4"subnets": [5{6"id": "11111111111111111111111111111111LpoYY",7"controlKeys": [],8"threshold": "0"9}10]11},12"id": 113}
1{2"jsonrpc": "2.0",3"result": {4"subnets": [5{6"id": "11111111111111111111111111111111LpoYY",7"controlKeys": [],8"threshold": "0"9}10]11},12"id": 113}