IETHPOSDeposit
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.
get_deposit_count
Query the current deposit count.
Returns
Name
Type
Description
<none>
bytes
The deposit count encoded as a little endian 64-bit number.
Events
DepositEvent
A processed deposit event.
Last updated