Skip to content
docs

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.

bigint

The total amount to withdraw (in base unit).

bigint

The queue’s per-request maximum.

bigint[]

The request amounts.