Sell tokens
Build sell transactions for one or more wallets.
Provide either percentage (0.01–100) or tokensAmount (number or per-wallet array).
Authorizations
Body
1"DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263"
Percentage of holdings to sell (0.01–100). Required if tokensAmount not provided.
0.01 <= x <= 100100
Fixed token amount(s). Single number applies to all wallets; array is per-wallet. Required if percentage not provided.
500000
Output token mint. Omit for native SOL output. Use for token → non-SOL swaps.
"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
Slippage tolerance in basis points. Defaults to 500 (5%) when omitted.
0 <= x <= 10000500
Priority fee per transaction in lamports
100000
Tip recipient wallet. Omitted ⇒ no tip transfer.
Tip amount in lamports. Omitted ⇒ no tip transfer.
1000000
Platform-fee recipient wallet — any wallet you choose. Omitted ⇒ no percentage fee.
Platform fee in bps, capped on-chain at 1000 (10%). Omitted ⇒ no percentage fee. Charged only on routes built through the Raze CPI router.
50
Take on-chain CPI fee from input (true) or output (false). Auth only.
Append JITO_DONT_FRONT marker. Only for single non-bundled sells. Default false.
exactIn (default) or exactOut (receive exact solAmount of output mint)
exactIn, exactOut exactOut sell — exact amount of output mint to receive (human units)
1 <= x <= 3Output recipient wallet. Distinct from payer ⇒ proceeds directed to recipient (SOL delivered as native). CPI-router only.
base58, base64 