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:

Property
Type
Description

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:

Property
Type
Description

rate

float32

Relations

The DelegatorReward entity has the following relations with other entities:

Entity
Mapping property
Description

public_key

Delegators receive rewards for delegating to validators.

validator_public_key

Validators receive rewards for participating in the consensus process.

Endpoints

The DelegatorReward entity has the following endpoints:

Relation endpoints

The DelegatorReward entity has the following relation endpoints:

Last updated