Skip to content
docs

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.

unknown

string = 'validator'

bigint