v1

latestOpenAPI 3.1.02026-07-1288262495.0 KB
Primary Network

List L1 validators

Lists details for L1 validators. By default, returns details for all active L1 validators. Filterable by validator node ids, subnet id, and validation id.

get/v1/networks/{network}/l1Validators

Path parameters

network'mainnet' | 'fuji' | 'testnet' required

Either mainnet or testnet/fuji.

Query parameters

pageTokenstring

A page token, received from a previous list call. Provide this to retrieve the subsequent page.

pageSizeinteger

The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.

l1ValidationIdstring

The L1 Validator's validation ID to filter by. If not provided, then all L1 Validators will be returned.

includeInactiveL1Validatorsboolean
nodeIdstring

A valid node ID in format 'NodeID-HASH'.

{"stackTrail":"paths:/v1/networks/{network}/l1Validators:get:parameters:6:schema","oasType":"schema","type":"unknown"}

The subnet ID to filter by. If not provided, then all subnets will be returned.

Response

Successful response

nextPageTokenstring

A token, which can be sent as pageToken to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.

blockHeightstring required

Block height at which the L1 validator's remaining balance is calculated