Skip to main content

GET /classic/initiated

List classic bots awaiting payment and the deposit address. Returns the aggregate SOL amount required to start all of them.

Only one pending classic group per user at a time — response lists all its bots.

Use case

"Pay to start" screen right after /classic/initialize.

Response 200

{
"initiatedBots": [
{
"_id": "...", "sGroupId": "...", "eStatus": "1",
"iPackageId": "...", "sMode": "NORMAL",
"sTokenAddress": "...", "sPoolId": "...", "ePoolChosen": "RAYDIUM"
}
],
"paymentAddress": "<solana_pubkey>",
"amountToPaySol": 9.0
}

Or, when nothing is pending:

{ "initiatedBots": [] }

Example

curl -H "Authorization: Bearer $ACCESS" -H "x-user-id: $USER_ID" \
"$BASE_URL/classic/initiated"