Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.raydium.io/llms.txt

Use this file to discover all available pages before exploring further.

Who this chapter is for

Teams building on top of Raydium — aggregators, wallets, custom trading programs, bots. If you are a Raydium end user, go to User Flows instead.

Chapter contents

Aggregator integration

How aggregators fetch Raydium pool state, quote swaps, and construct cross-DEX routes.

Wallet integration

What a wallet needs to display Raydium positions, farms, and transaction simulations correctly.

CPI from a custom program

Invoking Raydium programs from your own Solana program — account lists, signer seeds, error propagation, common mistakes.

Routing and MEV

Split routing across AMM/CLMM, Jito bundles, sandwich-resistance patterns, MEV-share considerations.

Priority fees and compute budget

How to size compute-unit requests and priority fees for each Raydium instruction; tuning under mainnet congestion.

Writing brief

  • Every guide starts with “this is the problem” (e.g., “my swap transactions fail under load”) and ends with a validated recipe.
  • Include benchmarks where meaningful (e.g., typical CU usage for a CPMM swap vs. a CLMM swap).
  • Link into SDK & API for the underlying primitives; don’t redefine them.