Single endpoint, same shape as EVM / TON. The Solana-specific calldata sits underDocumentation Index
Fetch the complete documentation index at: https://docs.mobula.io/llms.txt
Use this file to discover all available pages before exploring further.
data.solana. See the Swap Quoting page for the full input parameters.
Native sentinel
Request
| Param | Required | Notes |
|---|---|---|
chainId | ✓ | solana:solana |
tokenIn / tokenOut | ✓ | Mint address. Native SOL = So111…112 (wSOL). |
amount or amountRaw | ✓ | Human-readable ("1.5") or raw ("1500000" for 6-decimal USDC) |
walletAddress | ✓ | User’s Solana base58 pubkey |
slippage | – | % (0-100, default 1) |
priorityFee | – | auto | low | medium | high | veryHigh | number (microLamports/CU) |
computeUnitLimit | – | true (dynamic) or fixed CU number (default 400 000) |
jitoTipLamports | – | Add a Jito tip transfer to one of the official tip accounts |
multiLander | – | true returns N candidates over a durable nonce — see Multi-lander |
landerTipLamports | – | Per-lander tip when multiLander=true |
payerAddress | – | Fee abstraction — separate fee payer from walletAddress |
feePercentage | – | Caller referral fee 0-99% (taken from input or output SOL) |
feeWallet | – | Required when feePercentage > 0 |
onlyRouters | – | Comma-list of jupiter,naos,kyberswap,lifi |
excludedProtocols / onlyProtocols | – | DEX-level filter (e.g. raydium,orca,pump-amm) |
Response — data.solana
data.solana fields
| Field | Type | Description |
|---|---|---|
transaction.serialized | base64 | Full Solana transaction. Deserialize with VersionedTransaction.deserialize (or Transaction.from for legacy). |
transaction.variant | 'versioned' | 'legacy' | Discriminator — almost always 'versioned' in practice. |
lastValidBlockHeight | number | Blockhash expiry — your client should broadcast before the chain ticks past this. |
Multi-lander
SetmultiLander=true to receive N candidate transactions sharing a durable nonce. Race them across Jito / Nozomi / 0slot for fastest landing — only one can commit.
/swap/send in batch mode (candidates: [{lander, signedTransaction}, …]).
Signing
Supported aggregators
Jupiter, KyberSwap, NAOS, Li.Fi — pick one or several viaonlyRouters. Per-DEX filtering (Raydium, Orca, Meteora DLMM/Damm, Pump AMM, Whirlpool, …) via onlyProtocols / excludedProtocols.
Limits
- Blockhash expiry —
lastValidBlockHeightis ~150 slots (60s). Re-quote if the user takes longer than that to sign. - CU price — when bundling with Jito, set
priorityFeeandjitoTipLamportstogether for best landing. - Address forms — Solana addresses are case-sensitive base58. Don’t lowercase.