UNPKG

@funkit/connect

Version:

Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.

17 lines (16 loc) 585 B
/** * Resolves the active target's xStocks wrapped token address (e.g. wSPYx for * SPYx) from xStocks metadata — an equivalent direct-transfer source the * wallet-assets API doesn't return. Balance read + injection live in * `useXstockAssetHoldings`. * * - Scoped by `assetClass === 'xstock'` (not a customer), so the xStocks API is * only hit for xStock targets. */ import type { Address } from 'viem'; export declare function useXstocksWrappedTokenAddress({ enabled }?: { enabled?: boolean | undefined; }): { data: Address | undefined; isLoading: boolean; };