UpdateMirror

UpdateMirror is the type accepted in the update field of PATCH /v1/mirror/{address}. It lets you tweak or clear selected settings without touching the mirror’s address.

  • The path parameter {address} already tells the API which mirror to change, so address is not part of this object.

  • Every other field from Mirror is optional. Supply only the keys you want to modify.

  • autoSellProfileKey can be set to the magic string "override_to_empty" to remove any auto-sell profile for this mirror.

Field
Type / details

autoSellProfileKey

String – key of an existing auto-sell profile. May also be the magic value "override_to_empty" which forces this mirror to have no auto-sell profile even if one is set in Controls

tradeSizeLamports

Number – example 10000000, lamports spent per buy

tradeSpeed

String – example "Turbo", valid: Standard, Turbo, Godly

sellStrategy

String – example "SellProportionally", valid: SellAll, SellProportionally, NoSell

maxBuysPerMirrorPerHour

Number – example 3

maxBuysPerMirrorPerDay

Number – example 10

maxBuysPerTokenPerDay

Number – example 1

maxBuysPerTokenPerWeek

Number – example 5

allowPumpFun

Boolean – example true

snipeLaunchpadLaunches

Boolean – example true

launchpadLaunchSnipeTradeSizeSol

Number – example 0.2, size in SOL for launchpad snipes

mevProtection

String – example "Balanced", valid: Fastest, Balanced, Protected

degenMode

Boolean – example false

allowBuys

Boolean – example true

buyStrategy

String – example "Scaling", valid: Constant, Scaling

ssMinBuy

Number – example 0.1, minimum SOL for scaling strategy

ssPercent

Number – example 40, percentage for scaling strategy

ssMaxBuy

Number – example 0.5, maximum SOL for scaling strategy

crossMirrorPrevention

Boolean – example true

pfSlippage

Number – example 10, pump.fun slippage percent

buyExtraTipPct

Number – example 1, extra tip on buys (percent)

sellExtraTipPct

Number – example 0.5, extra tip on sells (percent)

autoSellProfileKey

String – key of an existing auto-sell profile

minMcUsd

Number – example 10000, minimum market cap in USD

maxMcUsd

Number – example 200000, maximum market cap in USD

autoSellProfileKey

Type: String Key of the auto-sell profile OdinBot should apply for this mirror only. If you supply the literal string "override_to_empty", OdinBot will remove any auto-sell profile from this mirror even when a global profile exists in Controls.

(optional field)


tradeSizeLamports

Type: Number Total lamports OdinBot spends per buy when no scaling strategy is in effect. Example: 10000000 (β‰ˆ 0.01 SOL).

(optional field)


tradeSpeed

Type: String - Standard, Turbo, Godly Selects the speed tier for copy-trades. Example: "Turbo".

(optional field)


sellStrategy

Type: String - SellAll, SellProportionally, NoSell Defines how OdinBot exits positions when the mirrored wallet sells. Example: "SellProportionally".

(optional field)


maxBuysPerMirrorPerHour

Type: Number Limits how many buys Odinbot will make for a mirrored wallet within an hour. Example: 3.

(optional field)


maxBuysPerMirrorPerDay

Type: Number Limits the number of buys Odin will make for a mirrored wallet within a 24-hour window. Example: 5.

(optional field)


maxBuysPerTokenPerDay

Type: Number Maximum number of buys allowed for the same token in a 24-hour window. Example: 1.

(optional field)


maxBuysPerTokenPerWeek

Type: Number Maximum number of buys allowed for the same token in a 7-day window. Example: 5.

(optional field)


allowPumpFun

Type: Boolean If true, OdinBot is allowed to copy trades on pump.fun. Example: true.

(optional field)


snipeLaunchpadLaunches

Type: Boolean If true, OdinBot will snipe (quickly buy) the tokens that your mirror launches (or creates) on a launchpad. Example: true.

(optional field)


launchpadLaunchSnipeTradeSizeSol

Type: Number Amount in SOL to spend on each launchpad snipe (independent of tradeSizeLamports). Example: 0.2.

(optional field)


mevProtection

Type: String - Fastest, Balanced, Protected Sets MEV protection. Example: "Fastest".

(optional field)


degenMode

Type: Boolean Removes slippage entirely for trades not executed on Pump.fun or PumpSwap. Example: false.

(optional field)


allowBuys

Type: Boolean Master switch that disables all new buys when set to false. Sells remain unaffected. Example: true.

(optional field)


buyStrategy

Type: String - Constant, Scaling Constant uses tradeSizeLamports for every buy. Scaling calculates size from ssMinBuy, ssPercent, and ssMaxBuy. Example: "Constant".

(optional field)


ssMinBuy

Type: Number Defines the smallest trade size (in SOL) that Odinbot will execute. If your buy would be below this size, no trade will be made. (only used when buyStrategy is set to Scaling). Example: 0.1.

(optional field)


ssPercent

Type: Number Percentage of the mirror's original buy size OdinBot should match. Example: 40.

(optional field)


ssMaxBuy

Type: Number Sets the largest trade size (in SOL) that Odinbot will execute. If the calculated buy size exceeds this value, Odinbot will instead use this value for the buy size. Example: 0.5.

(optional field)


crossMirrorPrevention

Type: Boolean When enabled, only the mirrored wallet that caused the first trade of a token can trade that token until the position is closed. Example: true.

(optional field)


pfSlippage

Type: Number Allowed slippage (%) when buying on Pump.fun or PumpSwap. Example: 10.

(optional field)


buyExtraTipPct

Type: Number Adds a percentage-based additional tip to potentially speed up mirrored buys. The tip scales with the trade size. Example: 1 (adds 1 %).

(optional field)


sellExtraTipPct

Type: Number Adds a percentage-based additional tip to potentially speed up mirrored sells. The tip scales with the trade size. Example: 0.5.

(optional field)


minMcUsd

Type: Number Minimum market cap (USD) a token must have for OdinBot to buy it. Example: 10000.

(optional field)


maxMcUsd

Type: Number Maximum market cap (USD) above which OdinBot will not buy. Example: 200000.

(optional field)

Types

Last updated

Was this helpful?