From 4f07ecc1296e63fa618edc512bc66a686a714f5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?BRAMILLE=20S=C3=A9bastien?= <2752200+oktapodia@users.noreply.github.com> Date: Tue, 24 Sep 2024 10:39:42 +0100 Subject: [PATCH] fix: chainId type --- src/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api.ts b/src/api.ts index a1fcdbe..306009a 100644 --- a/src/api.ts +++ b/src/api.ts @@ -552,7 +552,7 @@ export type TokensRequest = { } export type TokensResponse = { - tokens: { [chainId: number]: Token[] } + tokens: { [chainId: ChainId]: Token[] } } export type RequestOptions = {