Skip to main content
POST
/
v2
/
sol
/
distribute
Distribute SOL
curl --request POST \
  --url https://de.raze.sh/v2/sol/distribute \
  --header 'Content-Type: application/json' \
  --data '
{
  "sender": "62ThHC1rs2GUfa8J4Qjcj5GD2MSL2d65pcJtenNieDnm",
  "recipients": [
    {
      "address": "7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU",
      "amount": "0.1"
    },
    {
      "address": "9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM",
      "amount": 0.2
    }
  ]
}
'
{
  "success": true,
  "transactions": [
    "<string>"
  ]
}

Body

application/json

Request to distribute SOL to multiple recipients

sender
string
required

Sender wallet address

Example:

"62ThHC1rs2GUfa8J4Qjcj5GD2MSL2d65pcJtenNieDnm"

recipients
object[]
required

Array of recipients with amounts

Minimum array length: 1

Response

Success - Distribution transactions generated

success
boolean
required
Example:

true

transactions
string[]
required

Array of base58-encoded transactions, one per recipient