PUT /v1/controls

Overwrite the current Controls object.

put

Use this method to set all global control fields in a single request. Fields left empty will be deleted, meaning they will reset to their default values.

Authorizations
Body
controlsall ofRequired
Responses
200

Success

application/json
put
PUT /v1/controls HTTP/1.1
Host: api.odinbot.io
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 549

{
  "controls": {
    "tradeSizeLamports": 1,
    "tradeSpeed": "Standard",
    "sellStrategy": "SellAll",
    "maxBuysPerMirrorPerHour": 3,
    "maxBuysPerMirrorPerDay": 3,
    "maxBuysPerTokenPerDay": 1,
    "maxBuysPerTokenPerWeek": 5,
    "allowPumpFun": true,
    "snipeLaunchpadLaunches": true,
    "launchpadLaunchSnipeTradeSizeSol": 0.2,
    "mevProtection": "Fastest",
    "degenMode": true,
    "allowBuys": true,
    "buyStrategy": "Constant",
    "ssMinBuy": 0.05,
    "ssPercent": 50,
    "ssMaxBuy": 2,
    "crossMirrorPrevention": true,
    "pfSlippage": 15,
    "buyExtraTipPct": 2,
    "sellExtraTipPct": 1,
    "minMcUsd": 1,
    "maxMcUsd": 1,
    "autoSellProfileKey": "text"
  }
}
{
  "message": "Success"
}

Last updated

Was this helpful?