> Treat every fee rate, margin ratio, order limit, minimum, price, amount and deposit address in this documentation as an illustration of the shape of the value, never as a constant to hardcode - for perps the live values are served by GET /markets and GET /config on the Perps API, for swaps by GET /quote and GET /swap on the DEX Aggregator API. Contract addresses on the Smart Contracts page and in the Agent Swap Guide router table are the deployed ones: send swaps only to the tx.router returned by GET /swap, after checking it is listed there.

# Buying & selling

> The amount field changes meaning when you switch sides. Always read its unit.

## Buy a token

### Select Buy, then Market

Choose the payment token beside Amount: USDC or HYPE. The amount is in that token's units.

### Enter an amount or choose a preset

The amount box shows a muted approximate dollar value. The balance and estimated output update with your selection. Changing the payment token changes what the amount means.

### Review the trade

Check the output token and available balance, then open Quote details for the route, price impact, slippage and the [platform fee](/elysium/fees), which is already included in the estimate. Confirm to send the trade.

## Sell a position

Switch to **Sell**. Enter the number of tokens to sell, or choose **25%, 50%, 75% or Max** of the current holding. The amount field is token units, not the dollar value you want to receive.

Use **Sell for** to choose the asset you receive. The amount box's approximate dollar value describes the tokens entered, not the net proceeds. Review the separate output estimate, which includes the platform fee and price impact. A percentage shortcut does not guarantee an execution price.

## Quick buys and settings

Quick buy spends a fixed dollar amount set under Quick buy in Trade settings, and stays off until you turn it on there. It pays in USDC, or the same dollar value in HYPE when USDC is short, and skips a buy whose price impact is too high. It does not reuse the full trade panel's payment asset or presets.

Check the quick-buy amount before acting from the feed; speed removes time to notice a wrong amount or token. Use the full trade panel when you need to review the route.

If the control asks you to log in or deposit, inspect the stated reason. The **+** beside the available balance opens the Deposit dialog. Do not bypass a balance warning by increasing slippage.