PCB_Net.getNet() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
获取指定网络的详细信息
Signature
typescript
getNet(net: string): Promise<IPCB_NetInfo | undefined>;1
Parameters
Parameter | Type | Description |
|---|---|---|
net | string | 网络名称 |
Returns
Promise<IPCB_NetInfo | undefined>
网络的详细信息, undefined 为不存在该网络