Accounts

Get a list of all validators on the Sui Network.

get/v1/validators

Request

  • Base URL
    https://api.blockberry.one/sui
  • URL
    https://api.blockberry.one/sui/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'ADDRESS' | 'VALIDATOR_NAME' | 'NEXT_EPOCH_STAKE' | 'NEXT_EPOCH_COMMISSION_RATE' | 'NEXT_EPOCH_GAS_PRICE' | 'PENDING_STAKE' | 'PENDING_WITHDRAW' | 'COMMISSION_RATE' | 'GAS_PRICE' | 'STAKE_AMOUNT' required

Select sorting parameter.

searchStrstring

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

Response

OK

totalPagesinteger
totalElementsinteger
sizeinteger
numberinteger
numberOfElementsinteger
firstboolean
lastboolean
emptyboolean

Changes

    • breaking

      for the query request parameter searchStr, default value % was added

    • breaking

      removed the enum value ALL_BLOCKS from the query request parameter sortBy

    • breaking

      removed the enum value ALL_BLOCKS from the query request parameter sortBy

    • breaking

      removed the enum value CANONICAL_BLOCKS from the query request parameter sortBy

    • breaking

      removed the enum value CANONICAL_BLOCKS from the query request parameter sortBy

    • breaking

      removed the enum value DELEGATORS from the query request parameter sortBy

    • breaking

      removed the enum value DELEGATORS from the query request parameter sortBy

    • breaking

      removed the enum value STAKE from the query request parameter sortBy

    • breaking

      removed the enum value STAKE from the query request parameter sortBy

    • breaking

      removed the media type application/json for the response with the status

    • warning

      deleted the query request parameter isNotAnonymousOnly

    • warning

      deleted the query request parameter isVerifiedOnly

    • warning

      deleted the query request parameter isWithFeeOnly

    • warning

      deleted the query request parameter type

    • info

      added the new enum value ADDRESS to the query request parameter sortBy

    • info

      added the new enum value COMMISSION_RATE to the query request parameter sortBy

    • info

      added the new enum value GAS_PRICE to the query request parameter sortBy

    • info

      added the new enum value NEXT_EPOCH_COMMISSION_RATE to the query request parameter sortBy

    • info

      added the new enum value NEXT_EPOCH_GAS_PRICE to the query request parameter sortBy

    • info

      added the new enum value PENDING_STAKE to the query request parameter sortBy

    • info

      added the new enum value PENDING_WITHDRAW to the query request parameter sortBy

    • info

      added the new enum value STAKE_AMOUNT to the query request parameter sortBy

    • info

      added the new enum value VALIDATOR_NAME to the query request parameter sortBy

    • info

      for the query request parameter size, the max was increased from 50.00 to 100.00

    • info

      added the media type */* for the response with the status