Query the Validator Set
Get info on validators for an L1.
Query the Validator Set

L1 Validators
Query the validators of an L1 from the P-Chain using the Avalanche API
Explore more
Avalanche Builder Tooling

To query the validator set, you can use the Data API from AvaCloud.
Using the Data API
- Navigate to the List L1 Validators API endpoint
- Enter your
subnetID
in the required field - Select your network from the dropdown (
mainnet
orfuji
) - Click "Execute" to send the API request
- The response will display your current validator set
The response will show your validator set in the following format:
You can see that the validators
array contains the validator set.
Double check that the validators you listed in the convertSubnetToL1Tx
are in the validator set.
Alternatively, you can use the validators_getCurrentValidators endpoint from the Subnet EVM API.
Is this guide helpful?