Skip to content
docs

PoolsOption

PoolsOption = "any" | ReadonlyArray<string | PoolConfig>

Defined in: protocol-staking-native-near/src/types.ts:25

Which pools the module stakes into: a list of pool ids (or { id, name }), or 'any' for a wallet whose users pick from the validator set. Required: there is no default list. Either way every pool must be a factory pool (*.poolv1.near / *.pool.near, testnet *.pool.f863973.m0) with a known code hash.