Primary Network

Get single validator details

Changed on

List validator details for a single validator. Filterable by validation status.

get/v1/networks/{network}/validators/{nodeId}

Request

  • Base URL: https://data-api.avax.network
  • URL: https://data-api.avax.network/v1/networks/{network}/validators/{nodeId}
  • Auth: one of:
    • API key in header x-glacier-api-key
    • none

Path parameters

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

Either mainnet or testnet/fuji.

nodeIdstring required

A primary network (P or X chain) nodeId.

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.

validationStatus'completed' | 'active' | 'pending' | 'removed'

Validation status of the node.

sortOrder'asc' | 'desc'

The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the sortBy query parameter, if provided.

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.

Changes

    • breaking

      the ////// response's property type changed from object to no type for status

    • breaking

      removed the required property /////// from the response with the status

    • breaking

      removed the required property /////// from the response with the status

    • warning

      removed the optional property /////// from the response with the status

    • warning

      removed the optional property /////// from the response with the status

    • info

      added the optional property ////// to the response with the status

    • info

      added the optional property ////// to the response with the status

    • info

      added to the ////// response property allOf list for the response status

    • info

      added the required property ////// to the response with the status

    • info

      added the required property ////// to the response with the status

    • info

      added the required property ////// to the response with the status

    • info

      added the required property ////// to the response with the status