UNPKG

@openocean.finance/widget

Version:

Openocean Widget for cross-chain bridging and swapping. It will drive your multi-chain strategy and attract new users from everywhere.

8 lines (7 loc) 424 B
import type { TokenAmount } from '../types/token.js'; export declare const useTokenAddressBalance: (chainId?: number, tokenAddress?: string) => { token: TokenAmount; chain: import("@openocean.finance/widget-types").ExtendedChain; isLoading: boolean; refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<TokenAmount[], Error>>; };