packWithdrawalId
packWithdrawalId(
validatorId,withdrawId):bigint
Defined in: protocol-staking-native-monad/src/encode.ts:27
Packs (validatorId, withdrawId) into one withdrawal-request id: validatorId << 8 | withdrawId,
so claimWithdrawals({ ids }) never mixes up the same slot number on two validators.
Parameters
Section titled “Parameters”validatorId
Section titled “validatorId”bigint
withdrawId
Section titled “withdrawId”number
Returns
Section titled “Returns”bigint