Type Alias: TimeConfigStakeSol

@torque-labs/torque-utilsDocs


@torque-labs/torque-utils / TimeConfigStakeSol

Type Alias: TimeConfigStakeSol

type TimeConfigStakeSol: {
  duration: number;
  requirement: StakeSolTimeConfigSchema;
  type: STAKE_SOL;
};

Stake solana time config type

Type declaration

Name
Type
Default value
Description

duration

number

-

The duration of the requirement in seconds

requirement

{ epochs: number; }

StakeSolTimeConfigSchema

-

requirement.epochs

number

-

The number of epochs to stake for

type

STAKE_SOL

-

-

Defined in

types/timeConfig/config.ts:74

Last updated