Search…
Batch Deposit Contract
The Kiln Batch Deposit Smart Contract allows you to make multiple deposits in one transaction.

The Batch Deposit contract simply takes multiple deposit data as parameter and calls the official Deposit Contract for every deposit data.
You can interact with the batchDeposit function of the contract to deposit multiple validator keys deposit data, with the multiple of 32 ETH as transaction value.
function batchDeposit(
bytes[] calldata pubkeys,
bytes[] calldata withdrawal_credentials,
bytes[] calldata signatures,
bytes32[] calldata deposit_data_roots
) external payable
ABI:
{
"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
}

We recommend to stake no more than 200 / 300 keys in one transaction.
Batch Deposit 1
Gas: 40392
Batch Deposit 2
Gas: 95198
Batch Deposit 3
Gas: 128012
Batch Deposit 4
Gas: 135481
Batch Deposit 5
Gas: 190315
Batch Deposit 6
Gas: 197807
Batch Deposit 7
Gas: 231786
Batch Deposit 8
Gas: 286665
Batch Deposit 9
Gas: 293090
Batch Deposit 10
Gas: 328244
Batch Deposit 100
Gas: 3235151
Batch Deposit 200
Gas: 6429865
Batch Deposit 300
Gas: 9699565
Batch Deposit 400
Gas: 13040935
Batch Deposit 500
Gas: 16449572
Batch Deposit 600
Gas: 20019061
Batch Deposit 700
Gas: 23676753
Batch Deposit 800
Gas: 27507335
Batch Deposit 900
Gas: 31530659
Batch Deposit 1000
Gas: 35702677
Copy link
On this page
Addresses
Batch Deposit
Gas consumption