PUT /v1/mirror
Provide a Mirror object to start mirroring a wallet or replace its existing override settings. If a mirror with that address already exists, its overrides will be fully replaced. Override fields left empty will be deleted, meaning the previously existing overrides will be removed and will reset to the default values defined in your controls.
Authorizations
Body
mirrorall ofRequired
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
put
PUT /v1/mirror HTTP/1.1
Host: api.odinbot.io
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 564
{
"mirror": {
"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,
"address": "text",
"autoSellProfileKey": "text"
}
}
{
"message": "Success"
}
Last updated
Was this helpful?