Add solution

This commit is contained in:
2026-03-25 00:12:35 +01:00
parent 8d932e4d93
commit 25aa7e07a1
3 changed files with 182 additions and 2 deletions

13
app/types/api.ts Normal file
View File

@@ -0,0 +1,13 @@
export type SimpleErc20Token = {
id: number;
name: string;
symbol: string;
address: `0x${string}`;
}
// https://api.next.code-camp.org/erc20-tokens
export type Erc20TokensListResponse = {
tokens: Array<SimpleErc20Token>;
}