> ## Documentation Index
> Fetch the complete documentation index at: https://developers.paxoslabs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> Swap PAXG (Pax Gold) on Ethereum mainnet via DEX aggregators.

# PAXG Swaps

The PAXG Swap API enables buying and selling of PAXG (Pax Gold) tokens on Ethereum mainnet. The API returns ready-to-execute transaction calldata for swaps via DEX aggregators, handling liquidity sourcing and routing automatically.

<Info>
  Currently only available via REST API.
</Info>

## Supported Networks

| Network          | Chain ID |
| ---------------- | -------- |
| Ethereum mainnet | 1        |

## Supported Tokens

The following tokens can be used as the offer or want asset:

| Token | Address (Ethereum)                           |
| ----- | -------------------------------------------- |
| PAXG  | `0x45804880De22913dAFE09f4980848ECE6EcbAf78` |
| USDC  | `0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48` |
| USDT  | `0xdAC17F958D2ee523a2206206994597C13D831ec7` |
| PYUSD | `0x6c3ea9036406852006290770BEdFcAbA0e23A0e8` |
| USDG  | `0x2a54bA2964C8Cd459Dc568853F79813a60761B58` |

## How It Works

1. **Request a quote** — Call the swap quote endpoint with the offer asset, want asset, amount, and user address
2. **Review the quote** — The response includes the expected output amount, transaction calldata, and any required token approvals
3. **Execute the swap** — Submit the transaction using the provided calldata

## Authorization Methods

The API supports two authorization methods for token approvals:

* **`allowance_holder`** (default) — Standard ERC-20 approve flow using the AllowanceHolder contract
* **`permit2`** — Gasless approval using EIP-712 signed permits

<Info>
  For most use cases, the default `allowance_holder` method is recommended as it's simpler to implement.
</Info>
