Skip to main content

Overview

The x404-TimeLock feature verifies that a user has held a specific token for a minimum duration. This is useful for ensuring users are long-term holders rather than short-term traders.

Import

Usage

Configuration

string
required
Token mint address that the user must hold
string
required
Minimum amount of tokens required (as string to handle large numbers)
number
required
Minimum number of days the tokens must have been held
string
Optional wallet name. If not provided, a modal will appear for wallet selection.
string
required
Geolocation code setting
string
required
Country code for geolocation filtering
{ latitude: number | null, longitude: number | null }
required
User’s coordinates

Error Types

Example