Batch Deposit Smart Contract

How It Works

Our contract facilitates the pooling of multiple ETH deposits for submission to the Ethereum Beacon chain in a single transaction. This method is not only convenient but also maximises gas efficiency, reducing overall costs.

Ethereum Mainnet Contract Address: 0x12EB6257b03Bc63F9b0121FEc484150A6aDb0De7

The important function is the batchDeposit function which takes your deposit data and batches the message to the beacon chain.

function batchDeposit(
        bytes[] calldata pubkeys,
        bytes[] calldata withdrawal_credentials,
        bytes[] calldata signatures,
        bytes32[] calldata deposit_data_roots
  ) external payable

ABI in JSON format

Below is the ABI for the Batch Deposit Contract.

{
    "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",
    "payable": true
}

Verifying Contract Data

  • If you’d like to ensure that you’re interacting with the right contract, In order to verify contractcallData you can use this tool, inputting the contract address along with data provided by your wallet provider.

Contract Address and Security

At Pier Two, the security of our clients' assets is paramount. Our Batch Deposit Contract is the result of an fork from Kiln's gas optimised contract, who forked Stake Fish's thoroughly audited contracts, providing you with a platform you can trust.