Beacon Chain
Beacon Chain Data Sources
Validator Balance
Name: ValidatorBalance
Type: integer
Get the beacon chain balance of a validator
Param
Type
Required
validator (index)
integer
yes
source validator: integer = ValidatorBalance {
validator: 12345
};Slashings
Name: Slashings
Type: list<integer>
Get the validator indices of all validators that were slashed in the current slot.
source slashings: list<integer> = Slashings {};
slashings == list(411976) // If evaluated in slot 8219236Beacon Block Root
Name: BeaconBlockRoot
Type: bytes
Get the block hash for the beacon block in the given slot.
Param
Type
Required
slot
integer
yes
source root: list<integer> = BeaconBlockRoot {
slot: 88888
};
root == bytes(0x5f0e9b323f07102b17eda9b3c3c712289149d007a73865af79f270b86bb9c095)Last updated