> For the complete documentation index, see [llms.txt](https://vexar.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://vexar.gitbook.io/docs/trading-guide/spot-trading.md).

# Spot Trading

### What is Spot Trading?

Spot trading on VEXAR allows you to instantly swap tokens across multiple blockchains. We aggregate liquidity from various DEX sources to provide you with the best prices, lowest slippage, and seamless multi-chain experience.

#### Key Features

* 🌐 **15+ Blockchains**: Trade across Solana, Ethereum, BSC, Arbitrum, Polygon, and more
* 🪙 **10,000+ Tokens**: Access to thousands of tokens
* 💰 **Best Prices**: Liquidity aggregation from multiple DEXs
* ⚡ **Fast Execution**: Near-instant swaps
* 🔒 **Non-Custodial**: Your keys, your coins

### Supported Blockchains

#### Layer 1 Networks

| Blockchain    | Native Token | Average Fee | Speed  | DEX Sources               |
| ------------- | ------------ | ----------- | ------ | ------------------------- |
| **Solana**    | SOL          | \~$0.00025  | <1 sec | Jupiter, Orca, Raydium    |
| **Ethereum**  | ETH          | $2-50       | 12 sec | Uniswap, SushiSwap, 1inch |
| **BNB Chain** | BNB          | \~$0.10     | 3 sec  | PancakeSwap, Biswap       |
| **Avalanche** | AVAX         | \~$0.10     | 2 sec  | Trader Joe, Pangolin      |
| **Polygon**   | MATIC        | \~$0.01     | 2 sec  | QuickSwap, SushiSwap      |
| **Fantom**    | FTM          | \~$0.01     | 1 sec  | SpookySwap, SpiritSwap    |

#### Layer 2 Networks

| Network      | Parent Chain | Average Fee | Speed | DEX Sources         |
| ------------ | ------------ | ----------- | ----- | ------------------- |
| **Arbitrum** | Ethereum     | \~$0.50     | 1 sec | Uniswap V3, Camelot |
| **Optimism** | Ethereum     | \~$0.30     | 1 sec | Velodrome, Uniswap  |
| **Base**     | Ethereum     | \~$0.20     | 2 sec | Uniswap, Aerodrome  |
| **zkSync**   | Ethereum     | \~$0.15     | 1 sec | SyncSwap, Mute      |

### How Spot Trading Works

#### Price Aggregation

VEXAR automatically finds the best prices by:

1. **Querying Multiple DEXs**: We check all available liquidity sources
2. **Calculating Routes**: Find optimal paths including multi-hop swaps
3. **Split Orders**: Divide large orders across multiple DEXs for best price
4. **Gas Optimization**: Factor in transaction costs

**Example:**

```
Swapping 10 ETH for USDC:

Direct Route (Uniswap):
- Price: $2,250 per ETH
- Output: 22,500 USDC
- Gas: $15

Optimized Route (VEXAR):
- 6 ETH via Uniswap: 6 × $2,252 = $13,512
- 4 ETH via Curve: 4 × $2,253 = $9,012
- Total Output: 22,524 USDC
- Gas: $18
- Better by: $24 - $3 gas = $21 gain
```

### Making a Swap

#### Step-by-Step Guide

**1. Select Chain**

```
┌─────────────────────────┐
│ Choose Blockchain ▼     │
├─────────────────────────┤
│ ⚡ Solana               │
│ 🔷 Ethereum             │
│ 💛 BNB Chain            │
│ 🔺 Arbitrum             │
└─────────────────────────┘
```

**2. Choose Tokens**

```
From: ┌──────────┐    To: ┌──────────┐
      │ SOL ▼    │    →   │ USDC ▼   │
      └──────────┘         └──────────┘
```

**3. Enter Amount**

```
┌─────────────────────────┐
│ You Pay                 │
│ 10 SOL                  │
│ ≈ $1,000                │
└─────────────────────────┘

┌─────────────────────────┐
│ You Receive             │
│ 998.5 USDC              │
│ (≈ $998.50)             │
└─────────────────────────┘
```

**4. Review Details**

```
📊 Swap Details:
━━━━━━━━━━━━━━━━━━━━━━━━
Rate: 1 SOL = 99.85 USDC
Price Impact: 0.15%
Min. Received: 996 USDC
Route: Jupiter (95%) + Orca (5%)
Network Fee: ~0.000005 SOL
━━━━━━━━━━━━━━━━━━━━━━━━
Slippage Tolerance: 1%
```

**5. Confirm Transaction**

* Review in wallet
* Approve transaction
* Wait for confirmation (typically 1-2 seconds on Solana)

#### Understanding the Interface

**Main Components:**

1. **Token Selector**
   * Search by name or contract address
   * Popular tokens shown first
   * Recently used tokens
2. **Amount Input**
   * Manual entry or quick percentage buttons (25%, 50%, 75%, MAX)
   * Real-time USD equivalent
3. **Price Display**
   * Current exchange rate
   * Inverted rate toggle
   * 24h price change
4. **Swap Button**
   * Shows action (Approve, Swap, Insufficient Balance)
   * Estimates gas fees
5. **Transaction Settings**
   * Slippage tolerance
   * Transaction deadline
   * Gas price (EVM chains)

### Key Concepts

#### Slippage Tolerance

**What is it?** Maximum price movement you're willing to accept between quote and execution.

**Recommended Settings:**

| Token Liquidity         | Recommended Slippage |
| ----------------------- | -------------------- |
| High (BTC, ETH, SOL)    | 0.1% - 0.5%          |
| Medium (top 100 tokens) | 0.5% - 1%            |
| Low (small cap)         | 1% - 3%              |
| Very Low (microcaps)    | 3% - 5%+             |

**Example:**

```
Quote: 1 SOL = 100 USDC
Slippage: 1%
Min. Received: 99 USDC

If execution price gives <99 USDC:
→ Transaction fails (reverts)

If execution price gives ≥99 USDC:
→ Transaction succeeds
```

#### Price Impact

**What is it?** How much your trade moves the market price.

**Impact Levels:**

```
< 0.1%  ✅ Excellent - negligible impact
0.1-0.5% 🟢 Good - acceptable for most trades
0.5-1%  🟡 Moderate - be cautious
1-3%    🟠 High - consider splitting order
> 3%    🔴 Very High - avoid or use different route
```

**Reducing Price Impact:**

* Split large orders into smaller pieces
* Trade during high volume periods
* Use limit orders when available
* Consider alternative tokens with better liquidity

#### Transaction Deadline

**What is it?** Time limit for transaction to be included in a block.

**Default: 20 minutes**

**When to adjust:**

* Fast-moving markets: Reduce to 5-10 minutes
* Congested network: Increase to 30-60 minutes
* Low liquidity tokens: Increase deadline

#### MEV Protection

**What is MEV?** Maximum Extractable Value - bots can front-run your trades.

**VEXAR Protection:**

* Private RPC endpoints
* Transaction encryption
* Smart order routing
* Flash boys tax (on EVM chains)

### Advanced Features

#### Multi-Hop Swaps

When direct pairs have low liquidity, VEXAR finds optimal routes through intermediate tokens.

**Example:**

```
Direct: TOKEN_A → TOKEN_B (low liquidity)

Optimized Route:
TOKEN_A → USDC → ETH → TOKEN_B
- Better price despite multiple hops
- Higher liquidity at each step
- Lower overall slippage
```

#### Limit Orders

**What are they?** Swap tokens when price reaches your target (available on select chains).

**How to use:**

```
1. Choose tokens
2. Set limit price
3. Set expiration
4. Confirm order

Example:
Limit Order: Sell 10 SOL
Trigger Price: 110 USDC per SOL
Expiration: 7 days

→ Order executes when SOL hits $110
```

#### Token Approvals

**What are approvals?** Grant permission for VEXAR contracts to spend your tokens.

**First time swapping a token:**

1. Approve transaction appears first
2. Set approval amount (Exact or Unlimited)
3. Then swap transaction

**Security:**

* Use exact approvals for unknown tokens
* Unlimited approvals save gas on future swaps
* Revoke approvals for unused tokens regularly

### Supported Token Types

#### Standard Tokens

* Regular ERC-20 / SPL tokens
* Most common type
* Full functionality

#### Tokens with Transfer Fees

* Some tokens charge fee on transfer
* VEXAR accounts for this in quotes
* Example: SAFEMOON, FLOKI

#### Rebase Tokens

* Supply changes automatically
* Examples: AMPL, OHM
* Special handling required

#### Tokens with Tax

* Buy/sell tax implemented in contract
* Quotes include estimated tax
* Verify tax rate before swapping

### Chain-Specific Features

#### Solana

**Advantages:**

* Ultra-fast (< 1 second)
* Very low fees (\~$0.00025)
* High throughput

**Best For:**

* High-frequency swapping
* Small trades
* Memecoins

**Route Optimization:**

```
Jupiter Aggregator:
- Checks 20+ DEXs
- Smart routing
- Best prices
```

#### Ethereum

**Advantages:**

* Highest liquidity
* Most token variety
* DeFi hub

**Considerations:**

* Higher gas fees ($2-50)
* Slower (12 sec blocks)
* Best for larger trades

**Gas Optimization:**

* Trade during low congestion
* Use Layer 2 for smaller amounts
* Batch transactions when possible

#### BSC (BNB Chain)

**Advantages:**

* Fast (3 sec)
* Low fees (\~$0.10)
* EVM compatible

**Best For:**

* Medium-sized trades
* Gaming tokens
* Budget-conscious traders

#### Arbitrum/Optimism

**Advantages:**

* Ethereum security
* Low L2 fees (\~$0.20-0.50)
* Fast finality

**Best For:**

* Ethereum tokens with lower fees
* DeFi protocols
* Trading Ethereum ecosystem

### Common Issues and Solutions

#### "Insufficient Liquidity"

**Problem:** Not enough tokens in liquidity pools.

**Solutions:**

* Reduce trade size
* Try different chain
* Wait for better liquidity
* Check if token is tradeable

#### "Price Impact Too High"

**Problem:** Your trade significantly moves price.

**Solutions:**

* Split into smaller trades
* Increase slippage (carefully)
* Use limit orders
* Trade on chain with better liquidity

#### "Transaction Failed"

**Common Causes:**

1. **Slippage exceeded**
   * Increase slippage tolerance
   * Try again during stable period
2. **Insufficient gas**
   * Keep enough native token for fees
   * SOL for Solana, ETH for Ethereum, etc.
3. **Token tax/fee**
   * Some tokens have hidden fees
   * Research token before trading
4. **Deadline passed**
   * Increase transaction deadline
   * Submit transaction again

#### "Swap Rate Changed"

**Problem:** Price moved since quote.

**Solutions:**

* Accept new rate
* Wait for better price
* Use limit orders
* Increase slippage slightly

### Trading Strategies

#### 1. Arbitrage

**Strategy:** Profit from price differences across chains/DEXs.

**Example:**

```
Token price on Ethereum: $100
Token price on BSC: $101

1. Buy on Ethereum
2. Bridge to BSC
3. Sell on BSC
4. Profit: $1 - fees
```

#### 2. Dollar-Cost Averaging (DCA)

**Strategy:** Buy fixed amount at regular intervals.

**Example:**

```
Invest $100 weekly in ETH:

Week 1: ETH @ $2,000 = 0.05 ETH
Week 2: ETH @ $1,900 = 0.0526 ETH
Week 3: ETH @ $2,100 = 0.0476 ETH

Average cost: $2,000
```

#### 3. New Token Launches

**Strategy:** Trade newly launched tokens early.

**Risks:**

* High volatility
* Potential rug pulls
* Low liquidity

**Safety Checks:**

* Verify contract address
* Check liquidity lock
* Review tokenomics
* Start with small amounts

#### 4. Yield Farming Rotation

**Strategy:** Swap tokens to chase best yields.

**Process:**

```
1. Identify high APY pools
2. Swap to required tokens
3. Provide liquidity
4. Monitor yields
5. Rotate when better opportunities arise
```

### Fees and Costs

#### VEXAR Fees

**Spot Trading Fee: 0.5% of trade value**

**Fee Breakdown:**

```
Trade: $1,000
VEXAR Fee: $5 (0.5%)
You Receive: $995 (before network fees)
```

**Volume Discounts:**

| 30-Day Volume | Fee   |
| ------------- | ----- |
| $0 - $100K    | 0.50% |
| $100K - $1M   | 0.40% |
| $1M+          | 0.30% |

#### Network Fees

**Comparison by Chain:**

```
Solana:    ~$0.00025 ⭐ Cheapest
Polygon:   ~$0.01
BSC:       ~$0.10
Arbitrum:  ~$0.30
Optimism:  ~$0.40
Ethereum:  $5-50 💸 Most Expensive
```

**Gas Optimization Tips:**

* Trade on low-fee chains for small amounts
* Batch multiple swaps
* Trade during off-peak hours (weekends, nights)
* Use Layer 2 solutions

### Security Best Practices

#### Before Trading

✅ **Verify Token Contracts**

* Check official website
* Verify on blockchain explorer
* Look for verified contract

✅ **Research Unknown Tokens**

* Check CoinGecko/CoinMarketCap listings
* Review social media presence
* Look for audit reports

✅ **Start Small**

* Test with small amount first
* Verify receipt of tokens
* Then trade larger amounts

#### During Trading

✅ **Review Transaction Details**

* Verify token addresses
* Check amounts
* Confirm slippage settings

✅ **Monitor Gas Fees**

* Don't overpay during congestion
* Use gas trackers
* Consider waiting for lower fees

#### After Trading

✅ **Verify Receipt**

* Check wallet balance
* Confirm transaction on explorer
* Keep transaction hash

✅ **Revoke Unused Approvals**

* Use revoke.cash or similar
* Remove permissions for old/unused tokens
* Regular security maintenance

### Resources

#### Price Tracking

* CoinGecko
* CoinMarketCap
* DexScreener
* DexTools

#### Gas Trackers

* Etherscan Gas Tracker
* ETH Gas Station
* Solana Beach

#### Token Research

* Token Sniffer (scam detection)
* RugDoc (audit reports)
* DeFi Llama (TVL tracking)

#### Related Guides

* Getting Started
* Trading Guide
* Security
* FAQ

***

*Next: Wallet Setup →*


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://vexar.gitbook.io/docs/trading-guide/spot-trading.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
