curl --request POST \
--url https://de.raze.sh/v2/sol/consolidate \
--header 'Content-Type: application/json' \
--data '
{
"sourceAddresses": [
"62ThHC1rs2GUfa8J4Qjcj5GD2MSL2d65pcJtenNieDnm",
"7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU"
],
"receiverAddress": "9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM",
"percentage": 100
}
'{
"success": true,
"transactions": [
"<string>"
]
}Consolidate tokens from multiple source addresses to a single receiver address. Supports percentage-based consolidation.
curl --request POST \
--url https://de.raze.sh/v2/sol/consolidate \
--header 'Content-Type: application/json' \
--data '
{
"sourceAddresses": [
"62ThHC1rs2GUfa8J4Qjcj5GD2MSL2d65pcJtenNieDnm",
"7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU"
],
"receiverAddress": "9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM",
"percentage": 100
}
'{
"success": true,
"transactions": [
"<string>"
]
}Request to consolidate tokens from multiple sources
Array of source wallet addresses
1[
"62ThHC1rs2GUfa8J4Qjcj5GD2MSL2d65pcJtenNieDnm"
]Destination wallet address
"7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU"
Percentage of tokens to consolidate (1-100)
1 <= x <= 100100