Get-KasTop50
SYNOPSIS
Retrieves top 50 data for a given token tick from Kasplex API and optionally exports the results to a CSV file.
SYNTAX
Get-KasTop50 [-Tick] <String> [-ReturnAddressesOnly] [[-FilePath] <String>] [-SelectPathToExport]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
DESCRIPTION
This function validates the input tick symbol to ensure it is between 4 and 6 characters in length. It fetches data from the Kasplex API for the specified token tick and can return either the full API data or only the addresses of the top 50 holders. Use `-FilePath` or `-SelectPathToExport` for exporting results to a CSV file. The parameters `-FilePath` and `-SelectPathToExport` are mutually exclusive.
EXAMPLES
Example 1
PS C:\> {{ Add example code here }}
{{ Add example description here }}
PARAMETERS
-Tick
Validates the length of the Tick parameter
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ReturnAddressesOnly
{{ Fill ReturnAddressesOnly Description }}
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-FilePath
{{ Fill FilePath Description }}
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SelectPathToExport
Optional file path for saving results Prompts for save location if specified
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-ProgressAction
{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.