Query L1 Details

Learn how to query L1 details on the P-Chain.

Builder Console

Subnet Details

Query the data of the Subnet from the P-Chain using the Avalanche API
Suggestions:
C-Chain (11111111111111111111111111111111LpoYY)
The C-Chain of the Mainnet is the EVM chain of the Primary Network.

To query the L1 details, you can use the Data API from AvaCloud.

Is this guide helpful?