Skip to main content
POST
/
v3
/
sol
/
consolidate
Consolidate SOL
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..."
  ]
}

Headers

X-API-Key
string

Body

application/json
wallets
string[]
required

Source wallet addresses

Minimum array length: 1
Example:
[
"62ThHC1rs2GUfa8J4Qjcj5GD2MSL2d65pcJtenNieDnm"
]
receiver
string
required

Destination wallet address

Example:

"9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM"

percentage
number
required

Percentage of each wallet's balance to sweep (1–100)

Required range: 1 <= x <= 100
Example:

90

feeTipLamports
number
Example:

1000000

encoding
enum<string>
default:base58
Available options:
base58,
base64

Response

Consolidation transactions generated

success
boolean
required
Example:

true

transactions
string[]
required

Partially-prepared transactions to be signed and submitted