import type { BaseApiRequest } from '../../consts'; /** * Shapes for frog's xStocks asset proxy. All fields are optional because the * upstream marks them optional. See https://docs.xstocks.fi/apis/openapi. */ export type XstocksNetwork = 'Ethereum' | 'Polygon' | 'Gnosis' | 'BinanceSmartChain' | 'Arbitrum' | 'Avalanche' | 'Fantom' | 'Base' | 'Lisk' | 'Etherlink' | 'Sonic' | 'Solana' | 'Tron' | 'Ton' | 'Mantle' | 'HyperEVM' | 'Ink' | 'XLayer' | 'Optimism'; export type XstocksStablecoinCurrency = 'USD' | 'CHF' | 'EUR'; export type XstocksSolanaTokenProgram = 'TokenProgram' | 'Token2022Program'; export interface XstocksStablecoin { symbol?: string; currency?: XstocksStablecoinCurrency; network?: XstocksNetwork; address?: string; decimals?: number; issuance?: boolean; redemption?: boolean; supportsAtomicSwaps?: boolean; solanaTokenProgram?: XstocksSolanaTokenProgram; } export interface XstocksAssetDeployment { address?: string; network?: XstocksNetwork; wrapperAddress?: string; wrapperAddressV2?: string; supportsAtomicSwaps?: boolean; stablecoins?: XstocksStablecoin[]; } export interface XstocksAsset { id?: string; name?: string; symbol?: string; /** International Securities Identification Number. See https://www.investopedia.com/terms/i/isin.asp */ isin?: string; underlyingSymbol?: string; underlyingIsin?: string; description?: string; logo?: string; isTradingHalted?: boolean; deployments?: XstocksAssetDeployment[]; } export interface GetXstocksAssetRequest extends BaseApiRequest { /** xStocks ticker, e.g. "TSLAx". */ symbol: string; /** Optional network filter; scopes returned deployments to one chain. */ network?: XstocksNetwork; } //# sourceMappingURL=types.d.ts.map