Skip to content
docs

ValidatorsOption

ValidatorsOption = ReadonlyArray<string | ValidatorConfig> | "any"

Defined in: protocol-staking-native-solana/src/validators.ts:16

Which validators the module delegates to. A list of vote accounts (or { voteAccount, name }), or 'any' for a wallet that lets its users pick from the whole cluster. There is no default: a module without this choice refuses to construct.