Appearance
@swapped/connect-sdk / react / useWalletTransferMinAmount
Function: useWalletTransferMinAmount()
useWalletTransferMinAmount(
plan):UseWalletTransferMinAmountResult
Defined in: src/react/wallets/hooks/useWalletTransferMinAmount.ts:33
Minimum transferable amount in source token units for a resolved plan. Wraps WalletsTransfer.getMinAmount (swap/bridge destination mins are converted via exchange rates, then ceiled to display decimals). Always at least the source token display-dust. min.fiat is ceiled to maxFiatDecimals so the shown fiat min is enterable.
Prefer min.crypto / min.fiat strings for labels — they already match the token display decimals.
Parameters
plan
WalletTransferPlan | null