post https://api.cts.evergonlabs.com/cts-api/v1/assets/search
Search for assets using customizable filters:
-
Default behavior:
- If no assets specified: Retrieves all assets
- If user specified: Retrieves only user-related assets
-
Asset identification (mutually exclusive):
- Asset ID (recommended)
- Onchain contract address
- If both provided, only asset IDs are considered
-
User-related filtering:
- Retrieves assets where the user has a defined role
- User roles are specified per asset
- User identification (mutually exclusive):
a. User ID (recommended)
b. Registered wallet/account address - If both user ID and wallet address provided, only user ID is considered
This endpoint allows for precise querying of asset data, accommodating various use cases from broad overviews to specific user-asset interactions.