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 TypeMethodDescriptionorg.hyperledger.besu.datatypes.AddressRecipient for the ether to be withdrawn toorg.hyperledger.besu.datatypes.QuantityAmount of ether to be withdrawn and credited to the recipient addressorg.apache.tuweni.units.bigints.UInt64getIndex()A monotonically increasing index, starting from 0 that increments by 1 per withdrawal to uniquely identify each withdrawalorg.apache.tuweni.units.bigints.UInt64Validator 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
-