Skip to content

Commit 4507fb8

Browse files
committed
Fix: TokenInfo decimals type
1 parent 365ac7a commit 4507fb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export enum TokenType {
2323
export type TokenInfo = {
2424
type: TokenType | 'ERC20' | 'ERC721' | 'NATIVE_TOKEN' | 'UNKNOWN'
2525
address: string
26-
decimals: number
26+
decimals?: number | null
2727
symbol: string
2828
name: string
2929
logoUri: string

0 commit comments

Comments
 (0)