curl --request POST \
--url https://de.raze.sh/v3/sol/consolidate \
--header 'Content-Type: application/json' \
--data '
{
"wallets": [
"62ThHC1rs2GUfa8J4Qjcj5GD2MSL2d65pcJtenNieDnm",
"7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU"
],
"receiver": "9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM",
"percentage": 90
}
'{
"success": true,
"transactions": [
"4hXTCkRzt9...",
"5mYUDkRzt9..."
]
}Build partially-signed transactions to sweep SOL from many wallets into one receiver.
Each wallet produces one transaction. Each wallet must sign its own transaction before submitting.
curl --request POST \
--url https://de.raze.sh/v3/sol/consolidate \
--header 'Content-Type: application/json' \
--data '
{
"wallets": [
"62ThHC1rs2GUfa8J4Qjcj5GD2MSL2d65pcJtenNieDnm",
"7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU"
],
"receiver": "9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM",
"percentage": 90
}
'{
"success": true,
"transactions": [
"4hXTCkRzt9...",
"5mYUDkRzt9..."
]
}Source wallet addresses
1[
"62ThHC1rs2GUfa8J4Qjcj5GD2MSL2d65pcJtenNieDnm"
]Destination wallet address
"9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM"
Percentage of each wallet's balance to sweep (1–100)
1 <= x <= 10090
1000000
base58, base64