curl --request POST \
--url https://uk.raze.sh/swap/sol/sell \
--header 'Content-Type: application/json' \
--data '
{
"walletAddresses": [
"62ThHC1rs2GUfa8J4Qjcj5GD2MSL2d65pcJtenNieDnm"
],
"tokenAddress": "DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263",
"percentage": 100
}
'{
"success": true,
"transactions": [
"4hXTCkRzt9WyecNzV1XPgCDfGAZzQKNxLXgynz5QDuWJ..."
]
}Build sell transactions for one or more wallets.
Provide either percentage (0.01–100) or tokensAmount (number or per-wallet array).
curl --request POST \
--url https://uk.raze.sh/swap/sol/sell \
--header 'Content-Type: application/json' \
--data '
{
"walletAddresses": [
"62ThHC1rs2GUfa8J4Qjcj5GD2MSL2d65pcJtenNieDnm"
],
"tokenAddress": "DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263",
"percentage": 100
}
'{
"success": true,
"transactions": [
"4hXTCkRzt9WyecNzV1XPgCDfGAZzQKNxLXgynz5QDuWJ..."
]
}API key for authenticated access (alternative to Authorization header)
Bearer sk_... — alternative to X-API-Key
1[
"62ThHC1rs2GUfa8J4Qjcj5GD2MSL2d65pcJtenNieDnm"
]"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"
0 <= x <= 100009990
Priority fee per transaction in lamports
100000
Tip in lamports. Public — min 0.001 SOL (1000000 lamports) enforced.
x >= 10000001000000
Custom tip recipient wallet (auth only)
Custom tip amount in lamports (auth only)
1000000
Custom fee recipient wallet (auth only)
Custom fee in basis points (auth only)
50
base58, base64