splitWithdrawalAmounts
splitWithdrawalAmounts(
amount,cap):bigint[]
Defined in: protocol-staking-lido-evm/src/lido-protocol-evm.ts:120
Splits an over-cap withdrawal into the per-request chunks the queue enforces: N full caps followed by the remainder.
Parameters
Section titled “Parameters”amount
Section titled “amount”bigint
The total amount to withdraw (in base unit).
bigint
The queue’s per-request maximum.
Returns
Section titled “Returns”bigint[]
The request amounts.