Interfaces
IBeaconDepositContractIBeaconDepositContract
IBeaconDepositContract.sol Git Source
Functions
deposit
Submit a Phase 0 DepositData object.
Parameters
Name | Type | Description |
---|---|---|
pubkey | bytes | A BLS12-381 public key. |
withdrawal_credentials | bytes | Commitment to a public key for withdrawals. |
signature | bytes | A BLS12-381 signature. |
deposit_data_root | bytes32 | The SHA-256 hash of the SSZ-encoded DepositData object. Used as a protection against malformed input. |
get_deposit_root
Query the current deposit root hash.
Returns
Name | Type | Description |
---|---|---|
<none> | bytes32 | The deposit root hash. |