-
Notifications
You must be signed in to change notification settings - Fork 311
Open
Description
What is needed?
Add support for authenticated token list providers in Safe Transaction Service to enable integration with token list providers like Coingecko Pro API.
Background
Currently, Safe Transaction Service only supports publicly accessible token lists through direct URLs. However, some providers like Coingecko offer more comprehensive and maintained token lists through authenticated APIs. These lists often cover more networks and provide good-quality data.
The current implementation in TokenList model only stores URL and description, which limits the service to public token lists. It would be nice to extend this to support authenticated requests. For example, Coingecko Pro API supports two authentication methods:
- Query parameter:
x_cg_pro_api_key=<key> - Authorization header:
x-cg-pro-api-key: <key>
Related issues
- Coingecko Pro API Token Lists documentation: https://docs.coingecko.com/reference/token-lists
Security Considerations
- Authentication credentials should not be exposed through API responses
Metadata
Metadata
Assignees
Labels
No labels