We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4e6368 commit 060e0c9Copy full SHA for 060e0c9
1 file changed
onchain/tokens/metadata.py
@@ -123,6 +123,9 @@ async def get_token_metadata(
123
if (chain, token_address) in self._not_found_cache:
124
return None
125
126
+ if chain not in SUPPORTED_CHAINS:
127
+ return None
128
+
129
# Check metadata cache
130
if (chain, token_address) in self._metadata_cache:
131
metadata = self._metadata_cache[(chain, token_address)]
0 commit comments