Add solution
This commit is contained in:
13
app/types/api.ts
Normal file
13
app/types/api.ts
Normal 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>;
|
||||
}
|
||||
Reference in New Issue
Block a user