---
updatedAt: 2026-10-14T04:25:11.000Z
agentTools:
  projectIndex: https://docs.mavan.bitminetech.io/llms.txt
---

# Ethereum Batch Deposit Contract

Save gas by performing deposits in batches

The batch deposit contract submits multiple ETH deposits to the Ethereum beacon chain in a single transaction, reducing gas use and overall costs.

<Callout icon="🚧" theme="warn">
  ### Avoid EVM gas limits

  Due to EVM constraints relating to large amounts of loop iterations, it is recommended to deposit in batches of up to 500 at a time.

  If you encounter issues with failing transactions, try a smaller batch.
</Callout>

### Hashlock audit

Hashlock audited the batch deposit contract. Read the [audit report](https://hubs.ly/Q04pHZqg0).

### Pectra era

**Mainnet**: [0xcD7a6C118Ac8F6544BC5076F2D8Fb86D2C546756](https://etherscan.io/address/0xcD7a6C118Ac8F6544BC5076F2D8Fb86D2C546756)

**Hoodi Testnet**: [0x4c9506eE2fCd962f03022D9d8ebf6f7828abEfaf](https://hoodi.etherscan.io/address/0x4c9506eE2fCd962f03022D9d8ebf6f7828abEfaf)

<Accordion title="View ABI" icon="fa-info-circle">
  ```
  [{"inputs":[],"name":"DepositValueGreaterThan2048ETH","type":"error"},{"inputs":[],"name":"DepositValueLessThan1ETH","type":"error"},{"inputs":[],"name":"DepositValueMustBeMultipleOfGwei","type":"error"},{"inputs":[],"name":"InvalidPubKeyLength","type":"error"},{"inputs":[],"name":"InvalidSignatureLength","type":"error"},{"inputs":[],"name":"InvalidWithdrawalCredLength","type":"error"},{"inputs":[],"name":"MsgValueNotEqualToTotalDepositAmount","type":"error"},{"inputs":[],"name":"NoDepositsProvided","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes","name":"pubKey","type":"bytes"},{"indexed":true,"internalType":"bytes","name":"withdrawalCredentials","type":"bytes"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ValidatorDeposit","type":"event"},{"inputs":[{"components":[{"internalType":"bytes","name":"pubKey","type":"bytes"},{"internalType":"bytes","name":"withdrawalCredentials","type":"bytes"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"amount","type":"uint256"}],"internalType":"struct IBatchDeposit.Deposit[]","name":"_deposits","type":"tuple[]"}],"name":"batchDeposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"depositContract","outputs":[{"internalType":"contract IDepositContract","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
  ```
</Accordion>

### Shapella era

**Mainnet**: [0x12EB6257b03Bc63F9b0121FEc484150A6aDb0De7](https://etherscan.io/address/0x12EB6257b03Bc63F9b0121FEc484150A6aDb0De7#code)

**Hoodi Testnet**: [0xCC408Ad84DAda990fAFF4Fe7da8DAB246dFE533E](https://hoodi.etherscan.io/address/0xCC408Ad84DAda990fAFF4Fe7da8DAB246dFE533E)

<Accordion title="View ABI" icon="fa-info-circle">
  ```
  [{"inputs":[{"internalType":"address","name":"deposit_contract_address","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"LogDepositLeftover","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes","name":"pubkey","type":"bytes"},{"indexed":false,"internalType":"bytes","name":"withdrawal","type":"bytes"}],"name":"LogDepositSent","type":"event"},{"inputs":[{"internalType":"bytes[]","name":"pubkeys","type":"bytes[]"},{"internalType":"bytes[]","name":"withdrawal_credentials","type":"bytes[]"},{"internalType":"bytes[]","name":"signatures","type":"bytes[]"},{"internalType":"bytes32[]","name":"deposit_data_roots","type":"bytes32[]"}],"name":"batchDeposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"depositContract_","outputs":[{"internalType":"contract IDeposit","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"kDepositAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
  ```
</Accordion>

<br />