Delegator reward

The DelegatorReward entity offers a normalized representation of the Casper Network Reward related to the delegator account.

Properties

The DelegatorReward entity contains the following properties:

PropertyTypeDescription

public_key

string(64)

The public key of the delegator account represented as a hexadecimal string. Primary account identifier

validator_public_key

string(64)

Public key of the validator represented as a hexadecimal string. Unique validator identifier

era_id

uint32

Era identifier

amount

uint64

Amount of the reward received by the delegator.

timestamp

datetime

Timestamp indicating when the last block was proposed.

Example

{
  "public_key": "0106ca7c39cd272dbf21a86eeb3b36b7c26e2e9b94af64292419f7862936bca2ca",
  "validator_public_key": "0106ca7c39cd272dbf21a86eeb3b36b7c26e2e9b94af64292419f7862936bca2ca",
  "era_id": 1,
  "amount": "1000000000000",
  "timestamp": "2021-03-24T10:00:00.000Z"
}

Optional properties

Depending on the endpoint, the following optional properties may be included in the DelegatorReward entity:

PropertyTypeDescription

rate

float32

The rate that was relevant at the moment when the last block was proposed. To get more details see Including CSPR rates .

account_info

Account info provided by the account owner

centralized_account_info

Account information available for known accounts provided by CSPR.cloud team

cspr_name

string

Primary CSPR.name of the account

Relations

The DelegatorReward entity has the following relations with other entities:

EntityMapping propertyDescription

public_key

Accounts receive rewards for delegating to validators.

validator_public_key

Delegation rewards are associated with the validator, that distributed the rewards

Endpoints

The DelegatorReward entity has the following endpoints:

Last updated