Spending all gas
Keep native currency available for the next step.
Using a DEX
A swap starts before pressing the button: choose the network, retain gas and inspect signatures. This walkthrough separates connection, approval, trading and sending afterwards.
A swap starts before pressing the button: choose the network, retain gas and inspect signatures. This walkthrough separates connection, approval, trading and sending afterwards.
A decentralised exchange lets you trade using a wallet and the protocol’s contracts or execution mechanism. A swap exchanges assets; it does not require futures or liquidity provision. This guide uses the Uniswap web application as a concrete walkthrough and notes differences when choosing a Solana platform. Buttons and signatures depend on the product rather than following one universal DEX form.
Choose the asset to sell, the desired output and the network where it is needed. An EVM address can look identical across networks without balances being interchangeable. Verify the mint on Solana and the token contract on EVM networks, not just the ticker. The USDT network guide explains why one commercial name can describe different representations.
Prepare a wallet compatible with the network and keep its recovery information away from trading pages. You need the input asset and, where required, native gas currency such as ETH on Ethereum or SOL on Solana. Do not spend the entire native balance if it leaves no gas for execution or a later transfer. The transfer guide covers withdrawing from a CEX into your wallet.
Open the chosen platform and use its wallet-connect option. In Uniswap web, select a compatible wallet and confirm within it. Desktop WalletConnect may display a QR code for a mobile wallet; on a phone, the wallet’s own browser may be involved. The exact route depends on the provider and does not require pasting a recovery phrase into the DEX.
Connecting exposes the address and allows the interface to request actions; it is not unlimited permission to spend tokens. Spending approval, signing and the swap transaction are separate steps. Read the network, contract, amount or allowance and cost shown by the wallet. An unexpected request is not correct merely because it follows a connection button.
If the expected balance is missing, inspect account and network before transferring again. Wallets can contain several accounts and networks. Changing language or selecting another token does not bridge funds. Use the swap DEX ranking and DEX reviews to compare platforms without inventing a funding route.
In Uniswap, select network, input token and output token, then enter the amount to sell. If searching by contract, verify the representation before selecting it. A familiar pair and small first amount make the sequence easier to inspect, but do not replace checking identity and liquidity.
Review estimated output, route, fees and minimum received. Pool fees are not the entire cost: gas and interface charges can apply, while a multi-hop route may use several pools. Price impact describes how the trade affects available liquidity. If doubling the amount sharply worsens the rate, raising slippage does not automatically solve the underlying problem.
Slippage tolerance accepts a degree of deterioration relative to the quote; it is not a promised fee. Hypothetical example, not a current price: quoted output of 0.05 tokens with 1% tolerated deterioration implies a 0.0495 reference minimum before route-specific details. Read the application’s actual minimum. The cost guide separates quoted output, added charges and network expenditure.
Uniswap’s documented sequence uses Swap and a Confirm Swap review. If approval is needed, the application requests token spending permission and the relevant subsequent signature, including Permit2 when used. An on-chain approval costs gas; a Permit2 message signature itself does not. Neither step alone delivers the output token.
Inspect the requested permission and confirm only the prepared operation. Then sign the swap transaction with its network charge. Wallet wording varies by provider, so read the contents rather than recognising a button position. A broad allowance can remain active after this trade even if the interface is disconnected.
Wait for the result and use the network explorer to inspect hash, status and movements. A pending transaction does not justify immediately repeating the swap. If it fails, investigate the reason and remaining approvals before retrying; consumed gas may not be refunded. Distinguishing pending, failed and confirmed avoids an unintended second purchase.
After confirmation, output reaches the transaction’s recipient, normally your wallet. If it is absent from the wallet list, inspect the explorer and contract before concluding it is missing. Adding a token to the wallet interface merely displays an existing on-chain balance; it does not create funds or recover a transfer.
To send elsewhere, obtain the receiving wallet or exchange deposit address and select a network supported for that asset. Keep gas and check minimums, representation and any required tag. A small test transfer can help where fees and minimums permit. Selling into euros and withdrawing to a bank is a different workflow, covered in selling crypto and withdrawing euros.
Liquidity provision leaves you with a position rather than simply swap output; reduce or close it through its own action. Perpetual margin balances require accounting for positions and outstanding orders before releasing funds. The Hyperliquid and Aster guides explain that model. There is no universal withdrawal button for these three situations.
On Jupiter, choose the mode and compare the Solana route: Ultra and Manual have different conditions. On Raydium, inspect pool type, mint and trade cost. Solana signing need not include ERC-20 approval or Permit2; those steps apply to the tokens and contracts that require them.
On PancakeSwap, inspect network and pool version before applying a V2 calculation to V3. On Curve, consider correlated assets and pool balance without assuming parity. Across platforms, compare net output for your size and retain the relevant gas currency. Similar-looking screens do not make contracts identical products.
For long or short margin exposure, use the perpetual DEX ranking rather than treating a swap as futures. Hyperliquid vs Aster distinguishes those platforms. Buying HYPE or ASTER is also separate from learning their contract workflows.
Review these points before taking the next step.
Small checks for a more considered decision.
Keep native currency available for the next step.
Check the hash and status in the explorer first.
Disconnecting an interface does not itself revoke on-chain permissions.
Wallet swaps use connection and signatures; other products may create trading accounts or balances. Do not extrapolate one workflow to every DEX.
Spending approval and a Permit2 signature can precede the transaction. Inspect each request: not all are the swap and not all require gas.
In the usual workflow they already arrive in your wallet. Sending elsewhere is another transfer; exiting liquidity or margin is a separate action.
Check network, address, hash and contract in the explorer. Adding a token display to the wallet does not alter the on-chain balance.