Accounts

getValidators

Get a list of all validators on the Mina Blockchain.

get/v1/validators

Request

  • Base URL
    https://api.blockberry.one/mina-devnet
  • URL
    https://api.blockberry.one/mina-devnet/v1/validators
  • Auth
    API key in header x-api-key

Query parameters

pageinteger required

Queried API page.

sizeinteger required

Number of queried entries.

orderBy'ASC' | 'DESC' required

Sorting method: from the lowest element to the highest (ASC) or from the highest element to the lowest (DESC).

sortBy'STAKE' | 'NEXT_EPOCH_STAKE' | 'DELEGATORS' | 'CANONICAL_BLOCKS' | 'ALL_BLOCKS' | 'STAKE' | 'NEXT_EPOCH_STAKE' | 'DELEGATORS' | 'CANONICAL_BLOCKS' | 'ALL_BLOCKS' required

Select sorting parameter.

searchStrstring

Enter part or full validator name or address to get the queried validator.

Example:B62qoeMGjqqoXfH1JcUirKBjzWYAi8RqrRYxMdQd9a3DtpLfzG9JTMW
type'ALL' | 'ACTIVE' | 'INACTIVE' | 'ALL' | 'ACTIVE' | 'INACTIVE'

Select sorting parameter.

The type of queried validators. Active validators are validators that produced at least 1 block in the last completed epoch.

isNotAnonymousOnlyboolean

Flag showing whether the queried validators are anonymous, i.e. are not run by a known operator (an operator that registered with our name service).

isWithFeeOnlyboolean

Flag showing that the queried validators charge a non-null fee for validation services.

isVerifiedOnlyboolean

Flag showing that the queried validators have been verified, i.e. their identity has been proved.

Response

OK

totalElementsinteger
totalPagesinteger
sizeinteger
numberinteger
firstboolean
lastboolean
numberOfElementsinteger
emptyboolean

Changes

No recorded changes to this operation across all 1 revision of this API.