get_deposit_count
Read deposit count from deposit contract
Read the current validator deposit count from the deposit contract.
Signatures
# sync
w3.seismic.get_deposit_count(*, address: str = DEPOSIT_CONTRACT_ADDRESS) -> int
# async
await w3.seismic.get_deposit_count(*, address: str = DEPOSIT_CONTRACT_ADDRESS) -> intParameters
address: deposit contract address (defaults toDEPOSIT_CONTRACT_ADDRESS)
Returns
Deposit count as Python int.
Example
count = w3.seismic.get_deposit_count()
print(count)Implementation detail
SDK decodes bytes [64:72] as little-endian uint64.
See Also
get_deposit_root — Read the deposit Merkle root
deposit — Submit a validator deposit
Last updated

