Rate Limit: 100 requests per 15 minutes
What This Endpoint Does
1
Parameter Validation
Validates user ID format and wallet address using Solana’s Base58 encoding
2
PDA Generation
Creates a Program Derived Address for the relationship using deterministic seeds
3
Duplicate Check
Ensures the wallet isn’t already linked to prevent conflicts
4
On-Chain Storage
Creates an immutable record on the Solana blockchain
5
Server Sponsorship
Transaction fees are paid by the Trust Engine server (no user cost)
Understanding User Key Relations
Purpose
User key relations enable the Trust Engine to provide user-friendly experiences by linking human-readable identifiers to blockchain addresses.
Permanent Records: User key relations cannot be modified once created on the blockchain.
- One relationship per wallet (enforced by PDA uniqueness)
- Deterministic lookups (same wallet always maps to same PDA)
- Efficient queries (no need to scan all accounts)
Body
application/json
