Type Alias: StakeSolanaRequirement

@torque-labs/torque-utilsDocs


@torque-labs/torque-utils / StakeSolanaRequirement

Type Alias: StakeSolanaRequirement

type StakeSolanaRequirement: {
  requirement: StakeSolanaActionSchema;
  type: STAKE_SOL;
};

Stake Solana requirement type

Type declaration

NameTypeDefault valueDescription

requirement

{ amount: number; epochs: number; validator: string; }

StakeSolanaActionSchema

-

requirement.amount

number

-

The minimum amount to stake

requirement.epochs

number

-

The minimum number of epochs to stake for

requirement.validator

string

-

The validator to stake with

type

STAKE_SOL

-

-

Defined in

types/eventConfig/config.ts:210

Last updated