UNPKG

@funkit/connect

Version:

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

10 lines (9 loc) 518 B
import type { DynamicTargetAssetCandidate } from '../providers/FunkitCheckoutContext'; export declare function isXStockTargetAsset(asset: DynamicTargetAssetCandidate | undefined): boolean; /** * Strip the trailing display qualifier from a Nado ticker, e.g. * "SPYx (Spot)" → "SPYx", to recover the symbol the xStocks API expects. * * todo: we should have a displaySymbol vs tokenSymbol property on the DynamicTargetAssetCandidate */ export declare function parseXstocksSymbolFromTicker(ticker: string): string;