LogoLogo
CSPR.build Portal
1.0.x
1.0.x
  • Documentation
    • Introduction
    • Overview
      • Authorization
      • Rate limits and quotas
      • Pagination
      • Sorting
      • Filtering
      • Optional properties
      • Errors
    • Getting started
    • Highlights
      • Including related entities
      • Including CSPR rates
      • Including account info
      • Accessing auction data
      • Accessing token data
      • Accessing NFT data
      • De-anonymizing account hashes
      • De-anonymizing account purses
      • Receiving contract-level events
    • Changelog
  • REST API
    • Reference
    • Account
      • Get account
      • Get accounts
    • Account Info
      • Get account info
      • Get account infos
    • Auction metrics
      • Get auction metrics
    • Awaiting deploy
      • Create Awaiting Deploy
      • Add Awaiting Deploy signatures
      • Get Awaiting Deploy
    • Block
      • Get block
      • Get blocks
      • Get validator blocks
    • Bidder
      • Get bidder
      • Get bidders
    • Contract
      • Get contract
      • Get contracts
      • Get contracts by contract package
      • Get contract types
    • Contract entry point
      • Get contract entry points
      • Get contract entry point costs
    • Contract package
      • Get contract package
      • Get contract packages
      • Get account contract packages
    • Delegation
      • Get account delegations
      • Get validator delegations
    • Delegator reward
      • Get account delegator rewards
      • Get delegator total rewards
    • Deploy
      • Get deploy
      • Get deploys
      • Get account deploys
      • Get block deploys
      • Get deploy execution types
    • Fungible token action
      • Get fungible token actions
      • Get fungible token action types
      • Get account fungible token actions
      • Get contract package fungible token actions
    • Fungible token ownership
      • Get account fungible token ownership
      • Get contract package fungible token ownership
    • Non-fungible token (NFT)
      • Get NFT
      • Get account NFTs
      • Get contract package NFTs
      • Get NFT standards
      • Get off-chain NFT metadata statuses
    • Non-fungible token (NFT) action
      • Get contract package NFT actions for a token
      • Get account NFT actions
      • Get contract package NFT actions
      • Get NFT action types
    • Non-fungible token (NFT) ownership
      • Get contract package NFT ownership
      • Get account NFT ownership
    • CSPR rate
      • Get the current currency rate
      • Get historical currency rates
      • Get currencies
    • CSPR supply
      • Get supply
    • Transfer
      • Get account transfers
      • Get deploy transfers
    • Validator
      • Get validator
      • Get validators
    • Validator performance
      • Get historical validator performance
      • Get historical average validator performance
      • Get historical average validators performance
    • Validator reward
      • Get validator rewards
      • Get validator total rewards
  • Streaming API
    • Reference
    • Account balance
    • Block
    • Contract
    • Contract package
    • Contract-level events
    • Deploy
    • Fungible token action
    • Non-fungible token (NFT)
    • Non-fungible token (NFT) action
    • Transfer
  • Casper Node API
    • Connecting with an SDK
Powered by GitBook
On this page
  • Properties
  • Optional properties
  • Relations
  • Endpoints
  • Relation endpoints
  1. REST API

Validator

The Validator entity provides a normalized representation of the Casper Network Validator. It includes the extended information about its stakes, fee, shares etc.

Properties

The Validator entity has the following properties:

Property
Type
Description

rank

uint8

Projected validator rank based on total stake amount

era_id

uint32

Current era validator identifier

public_key

string(68)

Validator public key represented as a hexadecimal string

is_active

bool

Describes whether the validator is active or not

fee

float32

Percentage of the rewards the validator retains for its services

delegators_number

uint64

Number of delegators staked to validator

self_stake

uint64

delegators_stake

uint64

Cumulative stake of all delegators

total_stake

uint64

Total validator stake. The sum of the self-stake and the delegator stakes

self_share

float32

Percentage of the validator's self-stake to its total stake

network_share

float32

Percentage of the validator's total stake to the total amount staked on the network

Example

{
  "delegators_number": 327,
  "delegators_stake": 514860723339425900,
  "era_id": 12099,
  "fee": 15,
  "is_active": true,
  "network_share": "6.16",
  "public_key": "018f84c6fc037284f189cc8cb49f89212ff434a5eb050e48cdd164ff3890fbff69",
  "rank": 1,
  "self_share": "0.3",
  "self_stake": 1524223078827207,
  "total_stake": 516384946418253100
}

Optional properties

Depending on the endpoint some of the following optional properties may be included in the Validator entity:

Property
Type
Description

account_info

Account info of validator public key

average_performance

Validator average performance

Relations

Entity
Mapping property
Description

public_key

Accounts can participate in the auction to become a validator

public_key

Validators with active bids are bidders in the auction era

era_id

Validators propose blocks

delegators_stake

Accounts can delegate to validators to increase their stake

public_key

Validators receive staking rewards for their services

public_key

Validators' participation is measured

Endpoints

The Validator entity has the following endpoints:

  • Get validator

  • Get validators

Relation endpoints

The Validator entity has the following relation endpoints:

  • Get validator blocks

  • Get validator delegations

  • Get validator rewards

  • Get validator total rewards

  • Get validator total delegator rewards

  • Get validator relative performances

  • Get validator relative average performances

PreviousGet deploy transfersNextGet validator

Last updated 1 year ago

Validator self-stake calculated as a sum of the bidder stake and the stakes of the affiliated accounts provided via the

Casper Account Info Standard
AccountInfo
ValidatorPerformance
Account
Bidder
Block
Delegation
Validator rewards
Validator performance