Interface Withdrawal


public interface Withdrawal
A withdrawal is a system-level operation to support validator withdrawals that are pushed from the beacon chain to EVM.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.hyperledger.besu.datatypes.Address
    Recipient for the ether to be withdrawn to
    org.hyperledger.besu.datatypes.Quantity
    Amount of ether to be withdrawn and credited to the recipient address
    org.apache.tuweni.units.bigints.UInt64
    A monotonically increasing index, starting from 0 that increments by 1 per withdrawal to uniquely identify each withdrawal
    org.apache.tuweni.units.bigints.UInt64
    Validator index of the validator on the consensus layer the withdrawal corresponds to
  • Method Details

    • getIndex

      org.apache.tuweni.units.bigints.UInt64 getIndex()
      A monotonically increasing index, starting from 0 that increments by 1 per withdrawal to uniquely identify each withdrawal
      Returns:
      withdrawal index
    • getValidatorIndex

      org.apache.tuweni.units.bigints.UInt64 getValidatorIndex()
      Validator index of the validator on the consensus layer the withdrawal corresponds to
      Returns:
      validator index
    • getAddress

      org.hyperledger.besu.datatypes.Address getAddress()
      Recipient for the ether to be withdrawn to
      Returns:
      recipient address
    • getAmount

      org.hyperledger.besu.datatypes.Quantity getAmount()
      Amount of ether to be withdrawn and credited to the recipient address
      Returns:
      withdrawn ether amount