You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: improve Etherscan API with proper chainId handling and V1 fallback
- Extract chainId from Network object when available instead of hardcoding to 1 - Add fallback mechanism to handle networks that don't support V2 API yet - Gracefully handle deprecated V1 endpoint responses - Maintain backward compatibility with both string and Network endpoint types This ensures the fix works across all Etherscan network endpoints while providing robust error handling and fallback support.
0 commit comments