dAppBooster
    Preparing search index...

    Function addTokenToTokenList

    • Updates the token lists cache with the provided token.

      Parameters

      • token: {
            address: string;
            chainId: number;
            decimals: number;
            extensions?: Record<
                string,
                | string
                | number
                | bigint
                | boolean
                | Record<
                    string,
                    | string
                    | number
                    | bigint
                    | boolean
                    | Record<string, string | number | bigint | boolean | null | undefined>
                    | null
                    | undefined,
                >
                | null
                | undefined,
            >;
            logoURI?: string;
            name: string;
            symbol: string;
        }

        The token to add to the cache.

      Returns void