toValidatorId
toValidatorId(
value,what?):bigint
Defined in: protocol-staking-native-monad/src/encode.ts:7
A validator id as the precompile takes it (uint64). Accepts bigint or a safe non-negative integer.
Parameters
Section titled “Parameters”unknown
string = 'validator'
Returns
Section titled “Returns”bigint