Skip to content

@swapped/connect-sdk / react / usePrefetchWalletTransferCurrencies

Function: usePrefetchWalletTransferCurrencies() ​

usePrefetchWalletTransferCurrencies(options?): void

Defined in: src/react/wallets/hooks/usePrefetchWalletTransferCurrencies.ts:24

Prefetch swap + bridge supported currencies on mount (best-effort). Returns nothing - call the hook to warm the cache.

Prefer usePrepareWalletTransfer when entering a wallets/deposit flow unless you only need this prefetch.

Parameters ​

options? ​

UsePrefetchWalletTransferCurrenciesOptions = {}

Returns ​

void