Get Subnet / L1 info (P-Chain)
avax_pchain_get_subnetRetrieve subnet details including control keys, threshold, sovereign L1 status, manager, and blockchains via platform.getSubnet.
Instructions
Get Subnet details via platform.getSubnet: control keys, threshold, whether it has been converted to a sovereign L1 (isPermissioned=false), manager chain/address, and blockchains in the subnet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | Primary network: mainnet or fuji | fuji |
| subnet_id | Yes | Subnet ID (CB58) |