Skip to main content

Claim Cashback

POST /v1/cashback/claim/execute

Claim Cashback submits one or two server-signed transactions for a managed wallet:

  • one Pump bonding-curve cashback claim
  • one PumpSwap cashback claim

The selected wallet must be a SolanaLaser-managed wallet because the endpoint signs with that wallet. If wallet is omitted, SolanaLaser uses the default managed wallet for the API key.

Before claiming, SolanaLaser runs the same calculation as Check Cashback. It only submits a claim transaction for a source that currently has a positive claimable amount.

Request

const response = await fetch("https://api.solanalaser.xyz/v1/cashback/claim/execute", {
method: "POST",
headers: {
"content-type": "application/json",
"x-api-key": "sl_your_key",
},
body: JSON.stringify({
wallet: "MANAGED_WALLET_PUBLIC_KEY",
claim_bonding_curve: true,
claim_pumpswap: true,
confirm: true,
}),
});

const claim = await response.json();

Request Fields

FieldTypeRequiredMeaning
walletstringNoManaged wallet public key to claim for. Defaults to the API key's default wallet.
claim_bonding_curvebooleanNoDefaults to true. Enables Pump bonding-curve cashback claim.
claim_pumpswapbooleanNoDefaults to true. Enables PumpSwap cashback claim.
confirmbooleanNoDefaults to true. If true, SolanaLaser waits for each claim transaction confirmation.

At least one claim type must be enabled. If both claim types are enabled but only one has a positive amount, only one transaction is submitted.

Claim Both Sources

Request

const response = await fetch("https://api.solanalaser.xyz/v1/cashback/claim/execute", {
method: "POST",
headers: {
"content-type": "application/json",
"x-api-key": "sl_your_key",
},
body: JSON.stringify({
wallet: "MANAGED_WALLET_PUBLIC_KEY",
claim_bonding_curve: true,
claim_pumpswap: true,
}),
});

const claim = await response.json();

Response: 200

{
"wallet": "MANAGED_WALLET_PUBLIC_KEY",
"transactions": [
{
"kind": "bonding_curve",
"claimable_lamports": 1000000,
"signature": "BONDING_CURVE_CLAIM_SIGNATURE",
"confirmed": true,
"confirmation_status": "confirmed"
},
{
"kind": "pumpswap",
"claimable_lamports": 2500000,
"signature": "PUMPSWAP_CLAIM_SIGNATURE",
"confirmed": true,
"confirmation_status": "confirmed"
}
]
}

Claim PumpSwap Only

Use this when you only want to claim PumpSwap cashback.

Request

const response = await fetch("https://api.solanalaser.xyz/v1/cashback/claim/execute", {
method: "POST",
headers: {
"content-type": "application/json",
"x-api-key": "sl_your_key",
},
body: JSON.stringify({
wallet: "MANAGED_WALLET_PUBLIC_KEY",
claim_bonding_curve: false,
claim_pumpswap: true,
confirm: false,
}),
});

const claim = await response.json();

Response: 200

{
"wallet": "MANAGED_WALLET_PUBLIC_KEY",
"transactions": [
{
"kind": "pumpswap",
"claimable_lamports": 2500000,
"signature": "PUMPSWAP_CLAIM_SIGNATURE",
"confirmed": false,
"confirmation_status": null
}
]
}

No Claimable Cashback

If the selected claim types are enabled but no source has a positive claimable amount, the endpoint returns an empty transaction list.

Response: 200

{
"wallet": "MANAGED_WALLET_PUBLIC_KEY",
"transactions": []
}

PumpSwap WSOL ATA

PumpSwap cashback is paid as WSOL. When claiming PumpSwap cashback, SolanaLaser adds an idempotent instruction to create the wallet's WSOL associated token account if it does not already exist.

That can require rent from the managed wallet. The managed wallet also pays the transaction fee, priority fee, and Sender tip.

Response Fields

FieldMeaning
walletManaged wallet that claimed cashback.
transactionsClaim transactions submitted by the endpoint. Empty when nothing was claimable.
transactions.kindbonding_curve or pumpswap.
transactions.claimable_lamportsAmount that was claimable before submitting this transaction.
transactions.signatureSubmitted Solana transaction signature.
transactions.confirmedtrue when confirmation polling observed the transaction.
transactions.confirmation_statusRPC status such as processed, confirmed, or finalized; null when confirm: false.

Common Errors

HTTPDetailMeaning
400at least one claim type must be enabledBoth claim_bonding_curve and claim_pumpswap were false.
400managed wallet selection errorwallet is not attached to this API key.
502cashback RPC read failedPre-claim cashback check failed.
502Sender or RPC detailUpstream RPC, Sender, or confirmation failed.

Notes

  • Claims are not bundled. If both sources are claimable, SolanaLaser submits one transaction per source.
  • confirm: false returns after submission, so confirmed is false and confirmation_status is null.
  • A claim amount can change between check and claim if another transaction claims or modifies the same accumulator first.
  • Use Check Cashback before claim when you want to preview amounts across many wallets.