PATCH /v1/controls
Modify specific global controls by supplying only the fields you want to change in the "update" object, or list control names in the "remove" array to clear them back to their default values. Controls not mentioned in either key remain unchanged.
Authorizations
Body
updateall ofOptional
removestring[]Optional
List of control names to clear.
Responses
200
Success
application/json
400
Bad request. Check to make sure you're passing the right parameters.
application/json
401
Unauthorized. Make sure you're using the right api key.
application/json
429
Too many requests
application/json
patch
PATCH /v1/controls HTTP/1.1
Host: api.odinbot.io
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 565
{
"update": {
"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"
},
"remove": [
"text"
]
}
{
"message": "Success"
}
Last updated
Was this helpful?