What This Endpoint Does
1
Parameter Validation
Ensures that exactly one of
userID or walletAddress is provided.2
On-Chain Search
Queries the Solana blockchain to find the relationship Program Derived Address (PDA).
3
Fetches Relation
Retrieves and deserializes the on-chain data for the user-key relationship.
Query Parameters
User ID to search for (provide either this OR walletAddress)
Example:
"user-12345"
Wallet address to search for (provide either this OR userID)
Example:
"9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM"
