issues in the response (e.g. insufficient balance or allowance).
When the token pair, network, account, or userId changes, previous data is cleared. When only the
amount or slippage changes, previous data is preserved while the new price loads
(stale-while-revalidate).
Parameters
Returns
UseGetSwapPriceReturnType
An object containing the swap price data, status, error, refetch, and reset functions.