Blacklist Endpoint
Endpoints
Blacklist Endpoint
Exclusion-based authentication API endpoint
GET
Blacklist Endpoint
Documentation Index
Fetch the complete documentation index at: https://magenx404.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
Description
Verifies that a user does NOT hold any tokens from a blacklist of excluded token addresses. This endpoint checks wallet balances and ensures the user doesn’t hold banned tokens or exceed maximum holdings.Request
Headers
Nonce received from initial request
Base58-encoded signature of the challenge payload
User’s Solana public key
Must be
"blacklist"JSON array of token mint addresses to exclude (e.g.,
["token1", "token2"])JSON object mapping mint addresses to maximum allowed holdings (e.g.,
{"token1": "1000"})User’s latitude (if geolocation enabled)
User’s longitude (if geolocation enabled)
"true" or "false" to enable/disable geolocation checksCountry code for geolocation filtering (empty string if not used)
JWT token from previous authentication (for re-authentication)
Response
Success (200)
Error Responses
401 - Location Denied
403 - Exceeds Max Holding
500 - Holds Banned Token
500 - Location Error
Verification Logic
- Verify signature matches public key
- Check wallet does NOT hold any tokens in
excluded_mints - Check wallet does NOT exceed
max_holdingsfor any token - Verify geolocation (if enabled)
- Return JWT token if all checks pass