Deposit Contract
Validator deposit contract ABI and address constants
ABI and address for Seismic's Eth2-style validator deposit contract at 0x00000000219ab540356cBB839Cbe05303d7705Fa. Validators deposit ETH along with their public keys, signatures, and withdrawal credentials.
Constants
from seismic_web3 import DEPOSIT_CONTRACT_ABI, DEPOSIT_CONTRACT_ADDRESS
DEPOSIT_CONTRACT_ADDRESS: str = "0x00000000219ab540356cBB839Cbe05303d7705Fa"
DEPOSIT_CONTRACT_ABI: list[dict[str, Any]]Functions
deposit
node_pubkey, consensus_pubkey, withdrawal_credentials, node_signature, consensus_signature, deposit_data_root
—
payable
Deposit ETH to become a validator
get_deposit_count
—
bytes
view
Total number of deposits
get_deposit_root
—
bytes32
view
Merkle root of all deposits
supportsInterface
interfaceId: bytes4
bool
pure
ERC-165 interface check
Events
DepositEvent
node_pubkey, consensus_pubkey, withdrawal_credentials, amount, node_signature, consensus_signature, index
Emitted on successful deposit
Deposit Requirements
Minimum deposit
1 ETH (standard validator: 32 ETH)
node_pubkey
32-byte ED25519 public key
consensus_pubkey
48-byte BLS12-381 public key
withdrawal_credentials
32 bytes — use make_withdrawal_credentials
node_signature
64-byte ED25519 signature
consensus_signature
96-byte BLS12-381 signature
deposit_data_root
32 bytes — use compute_deposit_data_root
Transaction value
Must match amount_gwei * 10**9 in wei
Example
See Also
compute_deposit_data_root — Compute the SSZ hash tree root
make_withdrawal_credentials — Build ETH1 withdrawal credentials
deposit — Namespace method for making deposits
Last updated

