curl --request POST \
--url https://de.raze.sh/v2/sol/sell \
--header 'Content-Type: application/json' \
--data '
{
"walletAddresses": [
"62ThHC1rs2GUfa8J4Qjcj5GD2MSL2d65pcJtenNieDnm"
],
"tokenAddress": "Fyx78ew4wRY26gPj5CkTyuZ4kvW7CkPff5Jm2vNspump",
"percentage": 50
}
'{
"success": true,
"transactions": [
"AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEDArvc8yh6I6K7Q8Y"
]
}Generate sell transactions for selling tokens for SOL. Supports percentage-based or fixed token amounts. Transactions are partially prepared and need to be signed and submitted.
curl --request POST \
--url https://de.raze.sh/v2/sol/sell \
--header 'Content-Type: application/json' \
--data '
{
"walletAddresses": [
"62ThHC1rs2GUfa8J4Qjcj5GD2MSL2d65pcJtenNieDnm"
],
"tokenAddress": "Fyx78ew4wRY26gPj5CkTyuZ4kvW7CkPff5Jm2vNspump",
"percentage": 50
}
'{
"success": true,
"transactions": [
"AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEDArvc8yh6I6K7Q8Y"
]
}Request to generate sell transactions
Array of wallet addresses to sell tokens from
1[
"62ThHC1rs2GUfa8J4Qjcj5GD2MSL2d65pcJtenNieDnm"
]Token mint address to sell
"Fyx78ew4wRY26gPj5CkTyuZ4kvW7CkPff5Jm2vNspump"
Percentage of token holdings to sell (0-100). Either percentage or tokensAmount required, but not both.
0 <= x <= 10050
Fixed token amount(s) to sell. Can be a single number (applied to all wallets) or an array (one per wallet). Either percentage or tokensAmount required, but not both.
1000000
Jito tip in lamports (only used for bundles). Default 10000000 (0.01 SOL).
x >= 010000000
Slippage tolerance in basis points. Default 9990 (99.9%).
0 <= x <= 100009990
Additional transaction fee in lamports (optional)
x >= 01000000
Success - Transactions generated