Skip to main content
POST
/
utils
/
sol
/
consolidate
Many→one SOL consolidate (not yet implemented)
curl --request POST \
  --url https://ca.raze.sh/utils/sol/consolidate \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "wallets": [
    "<string>"
  ],
  "receiver": "<string>",
  "percentage": 123,
  "feeTipLamports": 123,
  "encoding": "base64",
  "simulate": true
}
'
{
  "success": true,
  "transactions": [
    "<string>"
  ],
  "batches": [
    {
      "signers": [
        "<string>"
      ],
      "itemIndices": [
        123
      ],
      "instructionCount": 123
    }
  ],
  "mint": "<string>",
  "platform": "<string>",
  "status": {},
  "simulations": [
    {}
  ],
  "error": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.raze.bot/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

Body

application/json

Many→one SOL sweep with percentage. Not yet implemented (501).

wallets
string[]
required
receiver
string
required
percentage
number
required

1–100.

feeTipLamports
integer
encoding
enum<string>
Available options:
base64,
base58
simulate
boolean

Response

200 - application/json

Response envelope (currently always success: false)

Shared envelope for every /utils/sol/* write endpoint. Optional fields are omitted from the JSON when unset.

success
boolean
required
transactions
string[]

Serialized partially-signed transactions in submission order.

batches
object[]

For batch endpoints (transfer, burn): packing metadata. batches[i] describes transactions[i].

mint
string

Set by /utils/sol/launch — the mint of the launched token.

platform
string

Set by /utils/sol/launch and /utils/sol/fees/claim.

status
object

Set by /utils/sol/fees/config for action=status reads.

simulations
object[]

Set when the request had simulate: true. One entry per built tx, in the same order as transactions. Each entry is the RPC simulateTransaction value object (logs / unitsConsumed / err).

error
string