LockDepositData
LockDepositData =
object
Defined in: deposits/lockDeposits.ts:31
Deposit data extracted from a cluster lock.
Properties​
| Property | Type | Description | Defined in |
|---|---|---|---|
lockHash | string | Hash of the lock the deposits were read from. | deposits/lockDeposits.ts:33 |
amounts | string[] | Distinct deposit amounts present in the lock, in wei, ascending. | deposits/lockDeposits.ts:36 |
depositsByAmount | Record<string, ValidatorDeposit[]> | Deposits grouped by amount (wei): one entry per validator that has a deposit of that amount, in lock order. | deposits/lockDeposits.ts:42 |
deposits? | ValidatorDeposit[] | One deposit per validator for the requested amount, or for the lock's only amount. undefined when the lock has several amounts and none was requested; pick one from amounts / depositsByAmount. | deposits/lockDeposits.ts:49 |