# Raydium Docs ## Docs - [Bonding curves](https://docs.raydium.io/algorithms/bonding-curves.md): The mathematics behind token-issuance curves — quadratic, linear, and virtual-reserves CPMM variants — derivations for cost / proceeds / spot price, and the graduation-threshold math used by LaunchLab. - [Estimating CLMM APR](https://docs.raydium.io/algorithms/clmm-apr.md): How Raydium computes the APR numbers shown on CLMM pools, how to estimate your own APR for a hypothetical range before opening a position, and the edge cases that make trailing APR misleading. - [Concentrated-liquidity math](https://docs.raydium.io/algorithms/clmm-math.md): sqrt-price representation, liquidity-to-amount formulas, single-tick and multi-tick swap steps, fee-growth accounting — the math behind Raydium CLMM. - [Constant-product AMM](https://docs.raydium.io/algorithms/constant-product.md): The x·y=k invariant, reserve-based pricing, slippage derivation, and the fee handling variants used by Raydium CPMM and AMM v4. This is the reference math page every x·y=k product at Raydium links back to. - [Impermanent loss](https://docs.raydium.io/algorithms/impermanent-loss.md): The fundamental LP risk: value lost relative to simply holding the two tokens. Formulas for CPMM (constant-product) and CLMM (concentrated-liquidity) pools, worked examples, and the break-even fee-APR thresholds that matter for LPs. - [Algorithms](https://docs.raydium.io/algorithms/index.md): Mathematical deep-dive chapter: the invariants, pricing formulas, and edge cases behind every Raydium product. - [Slippage and price impact](https://docs.raydium.io/algorithms/slippage-and-price-impact.md): Precise definitions of slippage vs price impact, how Raydium's SDK sizes minAmountOut and maxAmountIn, differences across AMM types, and MEV considerations for production routing. - [Token-2022 transfer fees in swaps](https://docs.raydium.io/algorithms/token-2022-transfer-fees.md): How Token-2022's transfer-fee extension changes the pre/post-swap amount accounting, which Raydium products support it, and the edge cases integrators need to handle (asymmetric fees, fee updates, max-fee caps, non-transferable extensions). - [Get RAY circulating supply](https://docs.raydium.io/api-reference/api-v1-endpoints/ray-token/get-ray-circulating-supply.md): Fetch RAY token circulating supply. - [Get RAY total supply](https://docs.raydium.io/api-reference/api-v1-endpoints/ray-token/get-ray-total-supply.md): Fetch RAY token total coin supply. - [API v1](https://docs.raydium.io/api-reference/api-v1/overview.md): Legacy Raydium read API at api.raydium.io. Pool / pair / farm / SDK lists. Kept live for clients that have not migrated to API v3. - [Get farm info by IDs](https://docs.raydium.io/api-reference/api-v3-endpoints/farms/get-farm-info-by-ids.md): Retrieve farm pool details by farm IDs. Cached 60 seconds. - [Get farm on-chain keys](https://docs.raydium.io/api-reference/api-v3-endpoints/farms/get-farm-on-chain-keys.md): Retrieve on-chain account keys for farms. Cached 60 seconds. - [Get farms by LP mint](https://docs.raydium.io/api-reference/api-v3-endpoints/farms/get-farms-by-lp-mint.md): Search for farms by LP token stake address. Paginated. Cached 60 seconds. - [Get IDO pool keys](https://docs.raydium.io/api-reference/api-v3-endpoints/ido/get-ido-pool-keys.md): Retrieve on-chain structure for IDO pools. Cached 20 seconds. - [Get chain time offset](https://docs.raydium.io/api-reference/api-v3-endpoints/main/get-chain-time-offset.md): Get offset between local UTC time and Solana chain time. Cached 60 seconds. - [Get CLMM dynamic-fee configurations](https://docs.raydium.io/api-reference/api-v3-endpoints/main/get-clmm-dynamic-fee-configurations.md): Retrieve the calibrated `DynamicFeeConfig` tiers a new CLMM pool can opt into when `enableDynamicFee=true` is passed to `CreateCustomizablePool`. Each entry exposes the per-tier parameters (filter period, decay period, reduction factor, dynamic-fee control, max volatility accumulator) that govern th… - [Get CLMM limit-order configurations](https://docs.raydium.io/api-reference/api-v3-endpoints/main/get-clmm-limit-order-configurations.md): Retrieve the per-pool limit-order configuration (whether limit orders are enabled, the minimum order size, and the keeper public key) for pools that support limit orders. Used by SDKs and UIs before calling `OpenLimitOrder`. Cached 60 seconds. - [Get CLMM pool configurations](https://docs.raydium.io/api-reference/api-v3-endpoints/main/get-clmm-pool-configurations.md): Retrieve allowed configurations for concentrated liquidity pools. Cached 60 seconds. - [Get CPMM pool configurations](https://docs.raydium.io/api-reference/api-v3-endpoints/main/get-cpmm-pool-configurations.md): Retrieve allowed configurations for constant-product pools. Cached 60 seconds. - [Get estimated transaction fees](https://docs.raydium.io/api-reference/api-v3-endpoints/main/get-estimated-transaction-fees.md): Retrieve estimated on-chain costs (lamports). Cached 60 seconds. - [Get main statistics](https://docs.raydium.io/api-reference/api-v3-endpoints/main/get-main-statistics.md): Retrieve TVL and 24-hour volume for all Raydium pools. Cached 60 seconds. - [Get RAY stake pools](https://docs.raydium.io/api-reference/api-v3-endpoints/main/get-ray-stake-pools.md): Retrieve RAY token staking pools. Cached 60 seconds. - [Get default mint list](https://docs.raydium.io/api-reference/api-v3-endpoints/mint/get-default-mint-list.md): Retrieve UI's default mint list with metadata and logos. Cached 60 seconds. - [Get mint info by IDs](https://docs.raydium.io/api-reference/api-v3-endpoints/mint/get-mint-info-by-ids.md): Retrieve metadata for specific mint addresses. Cached 20 seconds. - [Get mint prices](https://docs.raydium.io/api-reference/api-v3-endpoints/mint/get-mint-prices.md): Retrieve current USD prices for mint tokens. Cached 5 seconds. - [Get CLMM position history](https://docs.raydium.io/api-reference/api-v3-endpoints/pools/get-clmm-position-history.md): Retrieve historical price and liquidity data for CLMM pools. Cached 30 seconds. - [Get pool info by IDs](https://docs.raydium.io/api-reference/api-v3-endpoints/pools/get-pool-info-by-ids.md): Retrieve detailed pool information by pool IDs. Cached 60 seconds. - [Get pool liquidity history](https://docs.raydium.io/api-reference/api-v3-endpoints/pools/get-pool-liquidity-history.md): Retrieve historical TVL data for a pool (up to 30 days). Cached 300 seconds. - [Get pool on-chain keys](https://docs.raydium.io/api-reference/api-v3-endpoints/pools/get-pool-on-chain-keys.md): Retrieve on-chain account keys for pools. Cached 60 seconds. - [Get pools by LP mint](https://docs.raydium.io/api-reference/api-v3-endpoints/pools/get-pools-by-lp-mint.md): Retrieve pool info by LP token addresses. Cached 60 seconds. - [Get pools by token mint](https://docs.raydium.io/api-reference/api-v3-endpoints/pools/get-pools-by-token-mint.md): Filter pools by one or two token mints. Mint ordering normalized internally. Cached 60 seconds. - [List pools with advanced filters (v2)](https://docs.raydium.io/api-reference/api-v3-endpoints/pools/list-pools-with-advanced-filters-v2.md): Advanced pool listing with cursor-based pagination. Cached 60–90 seconds. - [List pools with pagination](https://docs.raydium.io/api-reference/api-v3-endpoints/pools/list-pools-with-pagination.md): **Legacy endpoint.** Retrieve paginated pool list with filtering and sorting. Cached 60 seconds. pageSize limited to 1000. Kept live for existing integrations; new integrations should query pools by ID, mint pair, or LP mint via the other `/pools/info/*` endpoints, or use the indexer-backed routing… - [Raydium API v3](https://docs.raydium.io/api-reference/api-v3/overview.md): REST API for querying Raydium pools, mints, farms, and chain data on Solana - [Get CLMM position metadata](https://docs.raydium.io/api-reference/dynamic-ipfs-v1-endpoints/clmm-position/get-clmm-position-metadata.md): Fetch complete position metadata including pool details, liquidity amounts, unclaimed fees, and USD valuation. Returns a dynamic NFT interface object suitable for rendering position visuals. - [Get locked CLMM position metadata](https://docs.raydium.io/api-reference/dynamic-ipfs-v1-endpoints/locked-positions/get-locked-clmm-position-metadata.md): Fetch metadata for a locked CLMM position. Returns position data including lock duration, accumulated fees, and current valuation. - [Get locked CPMM position metadata](https://docs.raydium.io/api-reference/dynamic-ipfs-v1-endpoints/locked-positions/get-locked-cpmm-position-metadata.md): Fetch metadata for a locked Constant Product Market Maker position. Returns LP token amounts, pool share percentage, and claimable fees from locking. - [Dynamic IPFS API](https://docs.raydium.io/api-reference/dynamic-ipfs-v1/overview.md): Regenerate dynamic NFT metadata and position visuals for Raydium liquidity positions - [API reference](https://docs.raydium.io/api-reference/index.md): Catalogue of every Raydium-operated HTTP API: pool data, transaction construction, perps, the LaunchLab forum / mint / history / auth services, IPFS gateway, owner-positions, and the legacy Python API. Endpoints listed below open into an interactive playground. - [Request authentication token with signature](https://docs.raydium.io/api-reference/launch-auth-v1-endpoints/token-management/request-authentication-token-with-signature.md): Signs a message with format `{signText}{time}` where signText is "Sign in to raydium.io: " and time is the current Unix timestamp in seconds. The wallet must sign this message and submit the signature to receive a JWT token. - [Request token using Ledger transaction](https://docs.raydium.io/api-reference/launch-auth-v1-endpoints/token-management/request-token-using-ledger-transaction.md): Alternative token request for Ledger-signed transactions. Signs a message with format `{signText}{time}` within a transaction. - [Revoke authentication token](https://docs.raydium.io/api-reference/launch-auth-v1-endpoints/token-management/revoke-authentication-token.md) - [Validate authentication token](https://docs.raydium.io/api-reference/launch-auth-v1-endpoints/token-management/validate-authentication-token.md): Verify that a token is still valid. Also extends token lifetime if near expiry. - [LaunchLab Auth API](https://docs.raydium.io/api-reference/launch-auth-v1/overview.md): Wallet-signature handshake that mints short-lived ray-token JWTs for the LaunchLab Forum and Mint APIs. - [Get a specific comment by ID](https://docs.raydium.io/api-reference/launch-forum-v1-endpoints/comments/get-a-specific-comment-by-id.md) - [Get comments for a pool](https://docs.raydium.io/api-reference/launch-forum-v1-endpoints/comments/get-comments-for-a-pool.md) - [Post a comment on a pool](https://docs.raydium.io/api-reference/launch-forum-v1-endpoints/comments/post-a-comment-on-a-pool.md): Post a new comment. Requires ray-token header. - [LaunchLab Forum API](https://docs.raydium.io/api-reference/launch-forum-v1/overview.md): Pool comment threads, IPFS image uploads, and forum browsing tied to a LaunchLab launch. Wallet-signed via ray-token. - [Get kline (candlestick) data](https://docs.raydium.io/api-reference/launch-history-v1-endpoints/candle-data/get-kline-candlestick-data.md): Retrieve OHLC candle data. Limit range: 1-500 (default 300). - [Get trade history](https://docs.raydium.io/api-reference/launch-history-v1-endpoints/trades/get-trade-history.md): Retrieve individual trades. Limit range: 1-100 (default 50). - [LaunchLab History API](https://docs.raydium.io/api-reference/launch-history-v1/overview.md): Trade history and OHLC kline data for LaunchLab pools at 1m, 5m, and 15m intervals. - [Get platform config](https://docs.raydium.io/api-reference/launch-mint-v1-endpoints/configuration/get-platform-config.md) - [Get platforms](https://docs.raydium.io/api-reference/launch-mint-v1-endpoints/configuration/get-platforms.md): **Legacy endpoint.** Returns the v1 platform list. Superseded by `/campaign/platforms-v2`, which carries the additional fields the front end now relies on. New integrations should call the v2 endpoint. - [Get platforms v2](https://docs.raydium.io/api-reference/launch-mint-v1-endpoints/configuration/get-platforms-v2.md) - [Get random mint](https://docs.raydium.io/api-reference/launch-mint-v1-endpoints/creation/get-random-mint.md): Return a fresh, unused mint keypair for the caller. Optional filters let the platform pre-generate vanity addresses with a specific prefix/suffix. - [Submit mint creation](https://docs.raydium.io/api-reference/launch-mint-v1-endpoints/creation/submit-mint-creation.md): Register the off-chain metadata for a new LaunchLab mint before its on-chain create transaction is sent. The platform stores the supplied name/symbol/uri/social-links keyed by mint, so the UI can display them while the bonding curve is live. - [Submit transaction](https://docs.raydium.io/api-reference/launch-mint-v1-endpoints/creation/submit-transaction.md): Forward a fully signed Solana transaction (base64-encoded) on behalf of the caller. Used by the UI to relay the create / buy / sell transactions through the platform's RPC for priority-fee uplift and retry handling. - [Get mint details](https://docs.raydium.io/api-reference/launch-mint-v1-endpoints/details/get-mint-details.md) - [Get user mints](https://docs.raydium.io/api-reference/launch-mint-v1-endpoints/details/get-user-mints.md) - [Get featured recent mints](https://docs.raydium.io/api-reference/launch-mint-v1-endpoints/discovery/get-featured-recent-mints.md) - [Get featured top mint](https://docs.raydium.io/api-reference/launch-mint-v1-endpoints/discovery/get-featured-top-mint.md) - [List Bonk mints](https://docs.raydium.io/api-reference/launch-mint-v1-endpoints/discovery/list-bonk-mints.md) - [List mints with sorting](https://docs.raydium.io/api-reference/launch-mint-v1-endpoints/discovery/list-mints-with-sorting.md) - [Search mints](https://docs.raydium.io/api-reference/launch-mint-v1-endpoints/discovery/search-mints.md) - [Get referrer rewards](https://docs.raydium.io/api-reference/launch-mint-v1-endpoints/user-activity/get-referrer-rewards.md) - [Get user creation stats](https://docs.raydium.io/api-reference/launch-mint-v1-endpoints/user-activity/get-user-creation-stats.md) - [Get user volume stats](https://docs.raydium.io/api-reference/launch-mint-v1-endpoints/user-activity/get-user-volume-stats.md) - [Get owner vesting](https://docs.raydium.io/api-reference/launch-mint-v1-endpoints/vesting/get-owner-vesting.md) - [Get pool vesting](https://docs.raydium.io/api-reference/launch-mint-v1-endpoints/vesting/get-pool-vesting.md) - [Get vesting by IDs](https://docs.raydium.io/api-reference/launch-mint-v1-endpoints/vesting/get-vesting-by-ids.md) - [LaunchLab Mint API](https://docs.raydium.io/api-reference/launch-mint-v1/overview.md): Search, leaderboards, per-mint metadata, vesting queries, and mint-creation flows for LaunchLab tokens. - [Get IDO participation info for a wallet](https://docs.raydium.io/api-reference/owner-api-v1-endpoints/ido/get-ido-participation-info-for-a-wallet.md): Retrieve IDO participation data, including invested amounts and claim status. - [Get pools created by a wallet](https://docs.raydium.io/api-reference/owner-api-v1-endpoints/pool-creation/get-pools-created-by-a-wallet.md): Retrieve all CPMM pools created (launched) by this wallet. - [Get locked CLMM positions for a wallet](https://docs.raydium.io/api-reference/owner-api-v1-endpoints/position/get-locked-clmm-positions-for-a-wallet.md): Retrieve all locked Concentrated Liquidity Market Maker positions owned by this wallet. Returns position state including locked amounts, lock end time, and claimable fees. - [Get stake positions for a wallet](https://docs.raydium.io/api-reference/owner-api-v1-endpoints/position/get-stake-positions-for-a-wallet.md): Retrieve all stake (standard AMM or CPMM) positions owned by this wallet. Returns cached position data including amounts and rewards. - [Owner API](https://docs.raydium.io/api-reference/owner-api-v1/overview.md): Retrieve per-wallet positions, balances, and claimable rewards - [Get perp market statistics](https://docs.raydium.io/api-reference/perp-api-v1-endpoints/main/get-perp-market-statistics.md): Returns 24h/7d/30d trading volume and open interest (long/short/total). - [Get default perp pool list](https://docs.raydium.io/api-reference/perp-api-v1-endpoints/pool/get-default-perp-pool-list.md): Returns list of default perpetual trading pools with volume and stats. - [Perps API Overview](https://docs.raydium.io/api-reference/perp-api-v1/overview.md): Configuration and metadata service for Raydium Perpetual Futures. - [Compute swap quote (base input)](https://docs.raydium.io/api-reference/route-api-v2-endpoints/compute/compute-swap-quote-base-input.md): Calculate the expected output amount when swapping a fixed input amount. Useful for displaying a preview before transaction building. - [Compute swap quote (base output)](https://docs.raydium.io/api-reference/route-api-v2-endpoints/compute/compute-swap-quote-base-output.md): Calculate the required input amount to achieve a desired output amount. Useful for swaps where you know the target output. - [Build swap transaction (base input)](https://docs.raydium.io/api-reference/route-api-v2-endpoints/transaction/build-swap-transaction-base-input.md): Generate a serialized swap transaction for a fixed input amount. Requires a successful compute response from `/compute/swap-base-in`. - [Build swap transaction (base output)](https://docs.raydium.io/api-reference/route-api-v2-endpoints/transaction/build-swap-transaction-base-output.md): Generate a serialized swap transaction for a desired output amount. Requires a successful compute response from `/compute/swap-base-out`. - [Transaction API Overview](https://docs.raydium.io/api-reference/route-api-v2/overview.md): Server-side swap transaction builder for Solana. - [Get accumulated creator fees for a wallet](https://docs.raydium.io/api-reference/temp-api-v1-endpoints/temporary/get-accumulated-creator-fees-for-a-wallet.md): Retrieve all CPMM pools where this wallet is the creator, along with accumulated but unclaimed creator fees per pool. Returns an empty array if the wallet has no creator fees cached. - [List a wallet's currently-parked CLMM limit orders](https://docs.raydium.io/api-reference/temp-api-v1-endpoints/temporary/list-a-wallets-currently-parked-clmm-limit-orders.md): Return CLMM limit orders owned by `wallet` that are still on-chain — both fully unfilled and partially filled orders are returned in a single payload. Each row is the decoded on-chain `LimitOrderState` plus the pool keys and a `pendingSettle` amount that the indexer has computed from the latest tick… - [List a wallet's historical CLMM limit orders](https://docs.raydium.io/api-reference/temp-api-v1-endpoints/temporary/list-a-wallets-historical-clmm-limit-orders.md): Return closed CLMM limit orders owned by `wallet`. Each row summarizes the order at the time it left the active set. Cursor-paginated via `nextPageId`. - [List the on-chain event log for one or more limit-order PDAs](https://docs.raydium.io/api-reference/temp-api-v1-endpoints/temporary/list-the-on-chain-event-log-for-one-or-more-limit-order-pdas.md): Return the event log (`open`, `increase`, `decrease`, `settle`, `close`) for one or more limit-order PDAs. Useful for rendering a per-order timeline. Cursor-paginated via `nextPageId`. - [Temp API](https://docs.raydium.io/api-reference/temp-api-v1/overview.md): Temporary holding area for short-lived endpoints - [Choosing a wallet](https://docs.raydium.io/getting-started/choosing-a-wallet.md): How to pick a Solana wallet for using Raydium: the features that matter, the security choices to make, and what to verify before you sign. - [FAQ](https://docs.raydium.io/getting-started/faq.md): Consolidated answers to the questions new Raydium users actually ask: fees, failed transactions, LP tokens, unwrapping SOL, finding transactions, and more. - [Your first swap](https://docs.raydium.io/getting-started/first-swap.md): Step-by-step walk-through of a single SOL → USDC swap on raydium.io/swap. What to enter, what to expect on each screen, and how to verify it worked. - [Funding a wallet](https://docs.raydium.io/getting-started/funding-your-wallet.md): Three ways to get SOL into your Solana wallet: fiat on-ramps, cross-chain bridges, and centralized exchange withdrawals. Tradeoffs in speed, fees, and friction. - [Getting Started](https://docs.raydium.io/getting-started/index.md): Zero-to-first-trade guide for non-developer users: pick a wallet, fund it, do your first swap, and avoid the common scams. Everything you need before opening Raydium for the first time. - [Trust & safety](https://docs.raydium.io/getting-started/trust-and-safety.md): Stay safe while using Raydium and other dApps. How to prevent and detect scams that drains Solana Users. - [What you need](https://docs.raydium.io/getting-started/what-you-need.md): The absolute minimum prerequisites to use Raydium: a Solana wallet, some SOL, and a browser. Five-minute checklist. - [Raydium Documentation](https://docs.raydium.io/index.md): Reference and guides for Raydium's AMM v4, CPMM, CLMM, Farm, and LaunchLab programs on Solana. - [Aggregator integration](https://docs.raydium.io/integration-guides/aggregator.md): How to discover Raydium pools, quote across CPMM / CLMM / AMM v4, and route atomic swaps through the right set of programs. Written for DEX aggregators and wallet swap UIs. - [CPI from a custom program](https://docs.raydium.io/integration-guides/cpi-integration.md): Composition patterns for on-chain programs that call Raydium — escrows, aggregator proxies, auto-compounding vaults — with full worked examples that include account construction, PDA signers, remaining accounts, and compute-budget budgeting. - [Integration Guides](https://docs.raydium.io/integration-guides/index.md): Recipes for common integration scenarios: aggregators, wallets, program-to-program CPI, routing, and performance tuning. - [Priority fees and compute budget](https://docs.raydium.io/integration-guides/priority-fee-tuning.md): Right-sizing compute-unit limits and priority fees for Raydium transactions — benchmarks per instruction, estimation strategies, and congestion-handling patterns. - [Routing and MEV](https://docs.raydium.io/integration-guides/routing-and-mev.md): Split routing across Raydium products, sandwich-resistance patterns, Jito bundle integration, and the trade-offs between private- and public-mempool submission paths. - [Wallet integration](https://docs.raydium.io/integration-guides/wallet-integration.md): Displaying Raydium positions, pool shares, farm stakes, and pending rewards in a wallet UI — detection patterns, simulation for transaction preview, and Token-2022 display specifics. - [Ecosystem position](https://docs.raydium.io/introduction/ecosystem-position.md): Raydium in the broader Solana DeFi landscape — its relationships with OpenBook, aggregators, wallets, oracles, and the Token-2022 ecosystem — and what depending on each means in practice. - [History and milestones](https://docs.raydium.io/introduction/history-and-milestones.md): Raydium's release timeline — product launches, major migrations, significant incidents, and the evolution of the protocol since 2021. - [Navigating the documentation](https://docs.raydium.io/introduction/index.md): How to find the right Raydium documentation for your task. - [What is Raydium](https://docs.raydium.io/introduction/what-is-raydium.md): A plain-English introduction to Raydium — what it does, how its product surfaces fit together, and where it sits in the Solana DeFi landscape. - [AMM v4 accounts](https://docs.raydium.io/products/amm-v4/accounts.md): The full account inventory of an AMM v4 pool — AmmInfo, TargetOrders, OpenOrders, vaults, LP mint, authority — plus the OpenBook accounts the pool is bound to. - [AMM v4 code demos](https://docs.raydium.io/products/amm-v4/code-demos.md): TypeScript examples for swapping against and providing liquidity to an existing AMM v4 pool. New pool creation is out of scope — use CPMM instead. - [AMM v4 fees](https://docs.raydium.io/products/amm-v4/fees.md): The 0.25% trade fee, its LP / protocol split, PnL generation from OpenBook fills, and how the admin sweeps accrued protocol fees. - [AMM v4](https://docs.raydium.io/products/amm-v4/index.md): Constant-product AMM. Originally a hybrid design that shared liquidity to OpenBook; the OpenBook integration has since been deactivated. - [AMM v4 instructions](https://docs.raydium.io/products/amm-v4/instructions.md): Every AMM v4 instruction with its arguments, the pool and OpenBook accounts it expects, and the pre/post conditions on each. - [AMM v4 math](https://docs.raydium.io/products/amm-v4/math.md): Constant-product invariant with AMM v4's fee convention, reserve-to-orderbook price conversion, target-order grid construction, and the PnL settlement step. - [AMM v4 overview](https://docs.raydium.io/products/amm-v4/overview.md): Raydium's original constant-product AMM. Originally a hybrid design that mirrored the curve as limit orders onto OpenBook; the OpenBook integration has been deactivated and pools now operate as pure AMMs. - [CLMM accounts](https://docs.raydium.io/products/clmm/accounts.md): Every account a CLMM pool touches: PoolState, AmmConfig, TickArrayState, TickArrayBitmapExtension, PersonalPositionState, and Observation. - [CLMM code demos](https://docs.raydium.io/products/clmm/code-demos.md): End-to-end TypeScript examples: create a CLMM pool, open a position in a chosen price range, adjust liquidity, swap, and collect fees and rewards. - [CLMM fees and rewards](https://docs.raydium.io/products/clmm/fees.md): How CLMM splits a trade fee across LPs, protocol, and fund; how the three-slot reward system emits to in-range positions; and how both settle into per-position balances. - [CLMM](https://docs.raydium.io/products/clmm/index.md): Concentrated-liquidity AMM. Liquidity is deposited into price ranges (ticks); positions earn fees only when the price is in range. - [CLMM instructions](https://docs.raydium.io/products/clmm/instructions.md): Complete CLMM instruction reference: pool lifecycle, position management, swap, and reward streams. - [CLMM math](https://docs.raydium.io/products/clmm/math.md): Sqrt-price representation, liquidity ↔ token amounts, the single-tick swap step, multi-tick iteration, and fee-growth accounting. - [CLMM overview](https://docs.raydium.io/products/clmm/overview.md): What Raydium's CLMM is, how concentrated liquidity differs from a constant-product pool, and when to pick it over CPMM or AMM v4. - [Ticks and positions](https://docs.raydium.io/products/clmm/ticks-and-positions.md): How CLMM discretizes price into ticks, how tick-arrays compress storage, and the rules governing where a position can live. - [CPMM accounts](https://docs.raydium.io/products/cpmm/accounts.md): Every PDA and shared account a CPMM pool touches: PoolState, AmmConfig, authority, LP mint, token vaults, and the observation ring buffer. - [CPMM code demos](https://docs.raydium.io/products/cpmm/code-demos.md): End-to-end TypeScript examples for every CPMM operation — create pool, swap, deposit, withdraw, collect fees — plus a minimal Rust CPI skeleton. - [CPMM fees](https://docs.raydium.io/products/cpmm/fees.md): How CPMM charges a trade fee and a separate creator fee, splits the trade fee between LPs, the protocol treasury, and the fund multisig, and who collects what, when. - [CPMM (Standard AMM)](https://docs.raydium.io/products/cpmm/index.md): Pure constant-product AMM. No OpenBook dependency. Token-2022 compatible. The recommended program for new constant-product pools. - [CPMM instructions](https://docs.raydium.io/products/cpmm/instructions.md): Every instruction on the CPMM program, with its arguments, account list, pre/post conditions, and the errors it can return. - [CPMM math](https://docs.raydium.io/products/cpmm/math.md): The constant-product invariant, SwapBaseInput vs SwapBaseOutput, Token-2022 transfer-fee handling, and how the observation account is updated. - [CPMM overview](https://docs.raydium.io/products/cpmm/overview.md): What Raydium's CPMM (Standard AMM) is, what makes it different from AMM v4, and when to pick it. - [Farm / Staking accounts](https://docs.raydium.io/products/farm-staking/accounts.md): FarmState, UserStake / Ledger, reward vaults, and the authority PDAs — layouts and PDA seeds for farm v3, v5, and v6. - [Farm / Staking code demos](https://docs.raydium.io/products/farm-staking/code-demos.md): TypeScript examples for creating a farm, staking LP, harvesting rewards, and topping up reward budgets against Raydium's farm v6 program. - [Farm / Staking](https://docs.raydium.io/products/farm-staking/index.md): Reward distribution program for LP tokens and single-asset staking. - [Farm / Staking instructions](https://docs.raydium.io/products/farm-staking/instructions.md): CreateFarm, Deposit, Withdraw, Harvest, AddReward / SetRewards / RestartRewards, WithdrawReward — the full instruction surface across farm v3, v5, and v6. - [Farm / Staking overview](https://docs.raydium.io/products/farm-staking/overview.md): How Raydium's farm program distributes reward tokens to stakers — the per-share accounting, the farm-version generations (v3, v5, v6), and how farms relate to but are distinct from the AMM / CLMM pools they sit alongside. - [Products](https://docs.raydium.io/products/index.md): Quick comparison of Raydium product surfaces and when to use each one. - [LaunchLab accounts](https://docs.raydium.io/products/launchlab/accounts.md): PoolState (per-launch root), the base and quote vaults, the authority PDA, and the small graph of per-launch accounts. Protocol-level GlobalConfig and platform-level PlatformConfig live on their own pages. - [LaunchLab bonding curve](https://docs.raydium.io/products/launchlab/bonding-curve.md): The curve formulas LaunchLab supports, closed-form buy and sell cost, graduation threshold derivation, and a worked numeric walk-through of a launch from first buy to graduation. - [LaunchLab code demos](https://docs.raydium.io/products/launchlab/code-demos.md): End-to-end TypeScript: create a LaunchLab launch, buy and sell on the bonding curve, graduate into a CPMM pool, and collect creator fees. - [LaunchLab creator fees](https://docs.raydium.io/products/launchlab/creator-fees.md): Pre-migration fee accrual, the post-migration Fee Key NFT, Raydium's default 90/10 burn/creator split, 0.1% token-share referral, and how platforms configure custom splits. - [LaunchLab GlobalConfig](https://docs.raydium.io/products/launchlab/global-config.md): Protocol-level configuration accounts that bound every LaunchLab launch — fee rates, supply minimums, lock-rate ceilings, the migration wallets that gate graduation, and the per-curve indexing scheme. - [LaunchLab](https://docs.raydium.io/products/launchlab/index.md): Bonding-curve token-launch venue that graduates into a Raydium AMM pool once funding targets are met. - [LaunchLab instructions](https://docs.raydium.io/products/launchlab/instructions.md): Initialize, Buy, Sell, Graduate, CollectFees, SetParams — argument shapes, account lists, and pre/postconditions for every LaunchLab instruction. - [LaunchLab overview](https://docs.raydium.io/products/launchlab/overview.md): How Raydium's bonding-curve launch venue works end-to-end: pre-graduation trading against a deterministic curve, the funding threshold that triggers graduation, and the automatic migration into a standard CPMM pool. - [LaunchLab PlatformConfig](https://docs.raydium.io/products/launchlab/platform-config.md): Per-platform configuration that customizes branding, fee splits, NFT migration shares, vesting allocation, and the whitelist of permitted curve shapes for any launch routed through that platform. - [LaunchLab platforms](https://docs.raydium.io/products/launchlab/platforms.md): How third parties register a Platform PDA on LaunchLab to offer their own branded token-launch experience, set platform fees, and configure post-migration parameters. - [Tips & Gotchas](https://docs.raydium.io/products/launchlab/tips-and-gotchas/index.md): Operational notes for LaunchLab platforms: fee lifecycle, LP distribution, CPMM fee configs, creator fees, and fee redistribution. - [LaunchLab & CPMM fee reference](https://docs.raydium.io/products/launchlab/tips-and-gotchas/launchlab-cpmm-fee-reference.md): End-to-end fee flow for LaunchLab tokens from bonding curve trading through CPMM migration. - [LP fee distribution](https://docs.raydium.io/products/launchlab/tips-and-gotchas/lp-fee-distribution.md): How LaunchLab platform settings split migrated CPMM LP tokens between platform Fee Keys, creator Fee Keys, and burned liquidity. - [Redistribute creator fees](https://docs.raydium.io/products/launchlab/tips-and-gotchas/redistribute-creator-fees.md): How LaunchLab platforms can redirect CPMM creator fees to a platform wallet or PDA and redistribute them off-chain or through custom logic. - [LaunchLab vesting](https://docs.raydium.io/products/launchlab/vesting.md): Locked tokens, cliff and linear-unlock schedule, the VestingRecord per-beneficiary account, and the create / claim instructions creators and platforms use to distribute reserved supply after graduation. - [Perps code demos](https://docs.raydium.io/products/perps/code-demos.md): Programmatic access to Raydium Perps via Orderly Network's API: deposit USDC, register the trading account, place / cancel / amend orders, fetch positions, subscribe to a market WebSocket, and withdraw. - [Collateral](https://docs.raydium.io/products/perps/collateral.md): Supported collateral assets, per-chain global caps, per-user deposit caps, and how USDC-settled P&L interacts with non-USDC collateral. - [Perps fees](https://docs.raydium.io/products/perps/fees.md): Maker 0 bps, volume-tiered taker schedule, Orderly's 1 bps cut, and the flat 1 USDC withdrawal fee. - [Raydium Perps](https://docs.raydium.io/products/perps/index.md): Gasless central-limit-order-book perpetuals on Solana (perps.raydium.io), powered by Orderly Network. Up to 100× leverage, multi-collateral, cross-margin, one-way mode. - [Order types](https://docs.raydium.io/products/perps/order-types.md): The five order shapes Raydium Perps supports — Market, Limit, Stop (market / limit), Scale — plus the four order flags: IOC, FOK, Post-Only, Reduce-Only. - [Trading basics](https://docs.raydium.io/products/perps/trading-basics.md): Perpetual futures primer: going long / short, leverage mechanics, cross-margin, one-way mode, liquidation and slippage risk. - [Routing accounts](https://docs.raydium.io/products/routing/accounts.md): How accounts are passed per hop on the AMM Routing program: user ATAs for every intermediate token, then the per-pool account block for each leg of the route. - [Routing code demos](https://docs.raydium.io/products/routing/code-demos.md): TypeScript examples: SDK-based multi-hop swap through the router, and raw instruction building. - [Routing fees](https://docs.raydium.io/products/routing/fees.md): The router takes no fee. Each hop pays its pool's fee. Compute cost scales linearly with route depth. - [AMM Routing](https://docs.raydium.io/products/routing/index.md): A program that chains swaps across multiple pools (AMM v4, CPMM, CLMM, Stable) in a single transaction, with user-controlled intermediate ATAs. - [Routing instructions](https://docs.raydium.io/products/routing/instructions.md): Reference for the AMM Routing instructions enabled on mainnet — six variants covering exact-input / exact-output swaps and the wSOL utilities. - [Routing math](https://docs.raydium.io/products/routing/math.md): The router performs no pricing math itself; each hop delegates to its pool program's curve. Multi-hop slippage compounds; CLMM hops use limit_prices. - [Routing overview](https://docs.raydium.io/products/routing/overview.md): What the AMM Routing program does, why it exists as a separate program, and when to use it instead of client-side instruction stitching. - [Stable AMM accounts](https://docs.raydium.io/products/stable/accounts.md): AmmInfo, ModelDataInfo, DataElement, Fees, vault layout, and OpenBook accounts. The full account inventory of a Stable AMM pool. - [Stable AMM code demos](https://docs.raydium.io/products/stable/code-demos.md): How to identify a Stable AMM pool from the API, swap through it via the Liquidity module (it handles version=5 pools natively), and use the off-chain stable-curve helpers. - [Stable AMM fees](https://docs.raydium.io/products/stable/fees.md): Identical to AMM v4: 0.25% trade fee, 0.22% LP / 0.03% protocol split. No fund fee, no creator fee. - [Stable AMM](https://docs.raydium.io/products/stable/index.md): AMM variant with interpolated price curves from lookup tables. Powers liquidity for stablecoin pairs and other assets with known price relationships. - [Stable AMM instructions](https://docs.raydium.io/products/stable/instructions.md): The full instruction set: Initialize, InitModelData, UpdateModelData, Deposit, Withdraw, SwapBaseIn, SwapBaseOut, MonitorStep, SetParams, WithdrawPnl, WithdrawSrm, PreInitialize, SimulateInfo. - [Stable AMM math](https://docs.raydium.io/products/stable/math.md): Binary search and linear interpolation to quote prices from the lookup table. Fee application identical to AMM v4. OpenBook integration and MonitorStep. - [Stable AMM overview](https://docs.raydium.io/products/stable/overview.md): Stable AMM replaces the constant-product curve with an interpolated lookup table, reducing slippage for correlated assets. Uses the same OpenBook integration as AMM v4. - [Architecture](https://docs.raydium.io/protocol-overview/architecture.md): The end-to-end architecture of Raydium: on-chain programs, shared PDAs and config accounts, and the off-chain surface that fronts them. - [Protocol Overview](https://docs.raydium.io/protocol-overview/index.md): The end-to-end architecture of Raydium across all four product lines, the infrastructure they share, and how versions have evolved. - [Shared infrastructure](https://docs.raydium.io/protocol-overview/shared-infrastructure.md): The primitives every Raydium program shares — authority PDAs, AmmConfig accounts, the protocol/fund/creator fee split, observation accounts, and the public REST API surface — defined once so per-product chapters can refer back here. - [Versions and migration](https://docs.raydium.io/protocol-overview/versions-and-migration.md): Release-version history for every Raydium program, the deprecation status of each generation, and the practical migration paths between them. - [Deploy a CLMM pool](https://docs.raydium.io/quick-start/deploy-clmm-pool.md): Paste-and-go Node script that creates a new CLMM pool, then opens an initial concentrated position. Mirrors the official raydium-sdk-V2-demo flow. - [Deploy a CPMM pool](https://docs.raydium.io/quick-start/deploy-cpmm-pool.md): Paste-and-go Node script that creates a new CPMM pool. Configure mints and seed amounts via env vars. - [Quick start](https://docs.raydium.io/quick-start/index.md): Three paste-and-go Node scripts that swap, create a CPMM pool, and create a CLMM pool — minimum config, real on-chain output in under five minutes. - [Swap from CLI](https://docs.raydium.io/quick-start/swap-from-cli.md): Paste-and-go Node script that quotes and executes a CPMM swap. Configure four env vars and run it. - [RAY](https://docs.raydium.io/ray/index.md): RAY supply, mint address, emissions, allocation, vesting, utility, and safety checks. - [Protocol fees](https://docs.raydium.io/ray/protocol-fees.md): Raydium trading-fee splits, pool-creation fees, fee conventions, and verification notes. - [Protocol metrics & analytics](https://docs.raydium.io/ray/protocol-metrics-and-analytics.md): Dashboards, reports, and APIs for tracking Raydium activity. - [Buybacks](https://docs.raydium.io/ray/ray-buybacks.md): How Raydium trading fees route into buybacks and how to verify the flow on-chain. - [Staking](https://docs.raydium.io/ray/ray-staking.md): How to stake and unstake RAY in the Raydium app. - [White paper](https://docs.raydium.io/ray/ray-token-white-paper.md): Official Raydium Protocol token white paper reference. - [Treasury](https://docs.raydium.io/ray/treasury.md): Protocol multisig, fee collection, buyback, treasury, and pool-creation fee addresses. - [Changelog](https://docs.raydium.io/reference/changelog.md): Dated record of updates to this documentation set. Entries log which chapters changed, why, and when the content was verified against on-chain state and the program source. - [Error codes](https://docs.raydium.io/reference/error-codes.md): Anchor error enums for every Raydium on-chain program, with cause and recommended UX message. - [Fee comparison](https://docs.raydium.io/reference/fee-comparison.md): Side-by-side fee matrix across all Raydium products — swap fees, protocol shares, creation costs, and how Token-2022 transfer fees stack on top. A single-page lookup for expected costs. - [Glossary](https://docs.raydium.io/reference/glossary.md): Definitions of terms used throughout Raydium's documentation. Each entry has a one-line definition and a pointer to the page where the term is explained in depth. - [Reference](https://docs.raydium.io/reference/index.md): Lookup tables: program addresses, error codes, fee comparisons, glossary, and changelog. - [Program addresses](https://docs.raydium.io/reference/program-addresses.md): Canonical Raydium program IDs and shared PDAs on Solana mainnet-beta and devnet. Every other page links here instead of hardcoding addresses. - [Token-2022 support matrix](https://docs.raydium.io/reference/token-2022-support.md): Which Raydium programs support Token-2022, the explicit extension allow-list each program enforces at pool creation, and the bypass paths (static mint whitelist, per-mint registry, Superstate detection) that admit otherwise-rejected mints. - [Brand kit](https://docs.raydium.io/resources/brand-kit.md): Logos, colors, typography, and usage rules for representing Raydium in press, integrations, partner content, and dashboards. - [Community tools](https://docs.raydium.io/resources/community-tools.md): Third-party SDKs, dashboards, bots, and analytics platforms that integrate with Raydium — plus how to submit your own tool for inclusion. - [Resources](https://docs.raydium.io/resources/index.md): Brand assets, community-built tools, and licensing for Raydium's code, SDK, and documentation. - [License](https://docs.raydium.io/resources/license.md): License terms for Raydium's on-chain programs, the TypeScript SDK, and this documentation. Trademark notes for the Raydium name and logo. - [AI integration](https://docs.raydium.io/sdk-api/ai-integration.md): Plug Raydium docs into your coding agent or LLM workflow — MCP server, llms.txt index, per-page copy, and pre-built context files. - [Anchor IDL](https://docs.raydium.io/sdk-api/anchor-idl.md): Where to find each Raydium program's IDL, how to regenerate TS / Rust / Python clients from it, and the protocol's IDL-change policy. - [SDK & API](https://docs.raydium.io/sdk-api/index.md): Reference for Raydium's TypeScript SDK, REST API, Anchor IDLs, and integration patterns for Rust, Python, and AI tools. - [Python integration](https://docs.raydium.io/sdk-api/python-integration.md): Building Raydium-facing bots and backends in Python via solders, solana-py, and anchorpy — environment setup, reading pool state, sending swaps, and the typical bot architecture. - [REST API surface](https://docs.raydium.io/sdk-api/rest-api.md): High-level overview of Raydium's eleven public HTTP services — what each one does, the conventions they share (response envelope, auth, rate limits, caching), and how to pick the right service for an integration. - [Rust CPI](https://docs.raydium.io/sdk-api/rust-cpi.md): Invoking Raydium programs from another Solana program — account list construction, signer seeds, compute budget, and error propagation patterns for CPMM, CLMM, farm v6, and LaunchLab. AMM v4 is covered separately since it has no Anchor crate. - [Trade API](https://docs.raydium.io/sdk-api/trade-api.md): Raydium's server-built swap transaction endpoint: quote, build, sign, send. The integration pattern for apps that want Raydium routing without shipping the SDK — what it returns, how it differs from the SDK, and how aggregators consume it. - [TypeScript SDK](https://docs.raydium.io/sdk-api/typescript-sdk.md): @raydium-io/raydium-sdk-v2 end-to-end — installation, the four module facades, transaction building, and the gotchas that bite every new integrator. - [Admin keys and multisig](https://docs.raydium.io/security/admin-and-multisig.md): The authority surface across Raydium programs — what each admin can do, how the multisig is structured, and how to verify on-chain who currently holds each role. - [Attack vectors](https://docs.raydium.io/security/attack-vectors.md): Known attack patterns against AMMs and Raydium's specific exposures — sandwich/MEV, price manipulation, donation attacks, Token-2022 hook abuse, composability bugs — including how Raydium defends against each. - [Audits](https://docs.raydium.io/security/audits.md): Audit history per Raydium program — firm, scope, date, report link — plus fix-status tracking and commentary on what audits do and don't cover. - [Responsible disclosure](https://docs.raydium.io/security/disclosure.md): Raydium's bug-bounty program: scope (on-chain program code only), severity rubric, contact paths, payout structure, plus the non-bounty channel for reporting SDK / UI / API issues. - [Security & Risk](https://docs.raydium.io/security/index.md): Audit history, admin controls, known risk surface, attack vectors, and responsible disclosure. - [Oracle and token risks](https://docs.raydium.io/security/oracle-and-token-risks.md): How Raydium handles oracle inputs and the specific risks introduced by Token-2022 extensions — freeze authority, transfer hook, permanent delegate, default-frozen — including what the programs protect against and what users must accept. - [Account model](https://docs.raydium.io/solana-fundamentals/account-model.md): Solana's account-centric architecture — accounts hold state, programs are stateless code that operates on accounts. Rent, ownership, program accounts vs data accounts, and what it all means when you're reading Raydium's pool state. - [Solana Fundamentals](https://docs.raydium.io/solana-fundamentals/index.md): The minimum Solana primitives you need to understand the Raydium programs — account model, SPL / Token-2022, PDAs, CPIs, transactions, fees, and toolchain. - [PDAs and CPIs](https://docs.raydium.io/solana-fundamentals/pdas-and-cpis.md): Program-derived addresses and cross-program invocation — the two primitives Raydium uses to manage state deterministically and compose with other programs. Seeds, bumps, invoke vs invoke_signed, and the patterns Raydium's code follows. - [Programs and Anchor](https://docs.raydium.io/solana-fundamentals/programs-and-anchor.md): How Solana programs are deployed and upgraded, what the Anchor framework adds on top of raw Solana, and how to read Raydium's IDL to generate your own clients. - [SPL Token and Token-2022](https://docs.raydium.io/solana-fundamentals/spl-token-and-token-2022.md): The two token standards Raydium operates on — the legacy SPL Token program and the extensions-enabled Token-2022 program. What each is, how they differ, and which Raydium products support which. - [Toolchain](https://docs.raydium.io/solana-fundamentals/toolchain.md): Minimum working setup for reading Raydium on-chain state, building transactions, and developing against the programs. Solana CLI, Anchor, SDKs in TypeScript and Python, and devnet/localnet tips. - [Transactions and fees](https://docs.raydium.io/solana-fundamentals/transactions-and-fees.md): How Solana transactions are structured, the limits they operate under, and the two distinct categories of fees — Solana network fees and Raydium protocol fees — that a typical swap pays. - [Add or remove liquidity](https://docs.raydium.io/user-flows/add-remove-liquidity.md): Deposit, withdraw, harvest farm rewards, and collect CLMM fees and rewards through the Raydium UI. - [Burn & Earn (permanent liquidity lock)](https://docs.raydium.io/user-flows/burn-and-earn.md): Permanently lock a CPMM or CLMM LP position while retaining the right to claim trading fees via a transferable Raydium Fee Key NFT. - [Buying a LaunchLab token](https://docs.raydium.io/user-flows/buying-a-launchlab-token.md): How to find, research, and buy a token on Raydium LaunchLab — including risk factors, slippage settings, and what happens when the bonding curve graduates. - [Pool Creation](https://docs.raydium.io/user-flows/choosing-a-pool-type.md): Choose the right Raydium pool type before creating a CPMM pool, CLMM pool, or farm. - [Claim rewards](https://docs.raydium.io/user-flows/claim-rewards.md): Harvest farm rewards and collect CLMM fees and rewards through the Raydium UI. - [Create a CLMM pool](https://docs.raydium.io/user-flows/create-clmm-pool.md): Create a concentrated-liquidity pool through the Raydium UI: choose fee tier, set initial price, open the first range, and verify. - [Create a CPMM pool](https://docs.raydium.io/user-flows/create-cpmm-pool.md): Create a Raydium CPMM pool through the UI: choose tokens, set the fee tier and initial price, seed liquidity, and verify the pool. - [Create a farm](https://docs.raydium.io/user-flows/create-farm.md): Create a Raydium farm through the UI to incentivize LP holders: choose staking mint, reward mints, schedule, budget, and monitoring. - [Creating a LaunchLab token](https://docs.raydium.io/user-flows/creating-a-launchlab-token.md): Two creation modes — JustSendit for a fast no-config launch, LaunchLab for full control over supply, curve, vesting, and post-migration fees. Covers UI walkthrough, key decisions, and what to do after launch. - [Earn referral fees (LaunchLab)](https://docs.raydium.io/user-flows/earn-referral-fees-launchlab.md): Share a LaunchLab token page link with your wallet as the referrer and earn 0.1% of every trade that comes through it — paid automatically in SOL. - [How creator fees work](https://docs.raydium.io/user-flows/how-creator-fees-work.md): LaunchLab token creators can earn fees in two distinct phases: pre-migration (while the token is on the bonding curve) and post-migration (after graduation to a CPMM pool via a Fee Key NFT). - [User Flows](https://docs.raydium.io/user-flows/index.md): Task-oriented guides: swap, add/remove liquidity, create a pool or farm, and launch or buy a token. - [Launch a token (LaunchLab)](https://docs.raydium.io/user-flows/launch-token-launchlab.md): End-to-end token launch through LaunchLab: curve choice, initial configuration, monitoring pre-graduation bonding-curve activity, and verifying the graduated CPMM pool. - [LaunchLab overview](https://docs.raydium.io/user-flows/launchlab-overview.md): What LaunchLab is, who it is for, and how token launches move from bonding curve trading to Raydium pool liquidity. - [LaunchLab platforms](https://docs.raydium.io/user-flows/launchlab-platforms.md): How third-party platform configurations shape LaunchLab launches, fees, branding, and post-migration settings. - [Migrate AMM v4 → CPMM](https://docs.raydium.io/user-flows/migrate-amm-v4-to-cpmm.md): Move liquidity from an AMM v4 pool to a CPMM pool through Raydium: checklist, UI steps, verification, and common concerns. - [Perpetuals](https://docs.raydium.io/user-flows/perpetuals.md): Start trading Raydium Perps: open the perps app, create an account, deposit collateral, and place your first order. - [Multi-collateral deposit](https://docs.raydium.io/user-flows/perpetuals-multi-collateral-deposit.md): Deposit supported collateral for Raydium Perps and understand global and per-user collateral limits. - [Perpetuals order types](https://docs.raydium.io/user-flows/perpetuals-order-types.md): Order types and flags available on Raydium Perps: market, limit, stop, scale, IOC, FOK, post-only, and reduce-only. - [Perpetuals trading basics](https://docs.raydium.io/user-flows/perpetuals-trading-basics.md): A trader-focused primer for Raydium Perps: long and short positions, leverage, margin, liquidation, funding, and order execution. - [Perpetuals trading fees](https://docs.raydium.io/user-flows/perpetuals-trading-fees.md): Trading and withdrawal fees on Raydium Perps, including maker fees, taker tiers, and Orderly infrastructure fees. - [Referrals & Blinks](https://docs.raydium.io/user-flows/referrals-and-blinks.md): Generate a Raydium swap link that pays you a 1% referral fee on every swap made through it. When shared on X, compatible wallets render the link as an interactive Blink. - [Swap](https://docs.raydium.io/user-flows/swap.md): Executing a token swap through the Raydium UI: choose tokens, review the route, set slippage and priority fees, sign, and troubleshoot common failures. ## OpenAPI Specs - [temp-api-v1](https://docs.raydium.io/api-reference/openapi/temp-api-v1.yaml) - [route-api-v2](https://docs.raydium.io/api-reference/openapi/route-api-v2.yaml) - [perp-api-v1](https://docs.raydium.io/api-reference/openapi/perp-api-v1.yaml) - [owner-api-v1](https://docs.raydium.io/api-reference/openapi/owner-api-v1.yaml) - [launch-mint-v1](https://docs.raydium.io/api-reference/openapi/launch-mint-v1.yaml) - [launch-history-v1](https://docs.raydium.io/api-reference/openapi/launch-history-v1.yaml) - [launch-forum-v1](https://docs.raydium.io/api-reference/openapi/launch-forum-v1.yaml) - [launch-auth-v1](https://docs.raydium.io/api-reference/openapi/launch-auth-v1.yaml) - [dynamic-ipfs-v1](https://docs.raydium.io/api-reference/openapi/dynamic-ipfs-v1.yaml) - [api-v3](https://docs.raydium.io/api-reference/openapi/api-v3.yaml) - [api-v1](https://docs.raydium.io/api-reference/openapi/api-v1.yaml) ## Optional - [raydium.io](https://raydium.io) - [GitHub](https://github.com/raydium-io)