Skip to main content
Version: next 🚧

LockDepositData

LockDepositData = object

Defined in: deposits/lockDeposits.ts:31

Deposit data extracted from a cluster lock.

Properties​

PropertyTypeDescriptionDefined in
lockHashstringHash of the lock the deposits were read from.deposits/lockDeposits.ts:33
amountsstring[]Distinct deposit amounts present in the lock, in wei, ascending.deposits/lockDeposits.ts:36
depositsByAmountRecord<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