We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 003729f + 99c2fdf commit 1e1dd78Copy full SHA for 1e1dd78
src/utils/get-tokens.ts
@@ -95,6 +95,10 @@ export default async function getTokens(): Promise<TokenInfo[]> {
95
const decimals = token?.metadata?.props.find((p) => p.label === 'Decimals')
96
?.value as string
97
98
+ if (!caipAddress || !name || !symbol || !decimals) {
99
+ continue
100
+ }
101
+
102
const [namespace] = caipAddress.split(':')
103
if (namespace !== 'eip155') {
104
nonEvmTokens.push(caipAddress)
0 commit comments