A representation of a validator onchain.

Constructors

Properties

model: Validator

Methods

  • Returns the activation epoch of the validator.

    Returns string

    The activation epoch as a string.

  • Returns the exit epoch of the validator.

    Returns string

    The exit epoch as a string.

  • Returns the address for execution layer rewards (MEV & tx fees).If using a reward splitter plan, this is a smart contract address that splits rewards based on defined commissions and send a portion to the forwarded_fee_recipient_address.

    Returns string

    The fee recipient address as a string.

  • If using a reward splitter plan, this address receives a defined percentage of the total execution layer rewards.

    Returns string

    The forwarded fee recipient address as a string.

  • Returns the public key of the validator.

    Returns string

    The validator's public key as a string.

  • Returns the withdrawable epoch of the validator.

    Returns string

    The withdrawable epoch as a string.

  • Returns the withdrawal address of the validator.

    Returns string

    The withdrawal address as a string.

  • Returns the withdrawal credentials of the validator.

    Returns string

    The withdrawal credentials as a string.

  • Returns whether the validator has been slashed.

    Returns boolean

    True if the validator has been slashed, false otherwise.

  • Returns the JSON representation of the Validator.

    Returns string

    The JSON representation of the Validator.

  • Returns the string representation of the Validator.

    Returns string

    The string representation of the Validator.

  • Returns the details of a specific validator.

    Parameters

    • networkId: string

      The network ID.

    • assetId: string

      The asset ID.

    • id: string

      The unique publicly identifiable id of the validator for which to fetch the data.

    Returns Promise<Validator>

    The requested validator details.

  • Returns the list of Validators.

    Parameters

    • networkId: string

      The network ID.

    • assetId: string

      The asset ID.

    • Optional status: ValidatorStatus

      The status to filter by.

    Returns Promise<Validator[]>

    The list of Validators.