Edit Opening Sell (PATCH)

Edit Opening Sell

This API is used to edit a Opening sell task

URL

Header: X-API-KEY

(Please do not disclose your API Key to anyone. If you are at risk of losing it, please refresh it.)

Notes

  1. X-API-KEY can be obtained in your "Dashboard", go to check: Dashboard

  2. In the paging type interface, use the next field in the return value as the query parameter for the next page (if next == null, it means that paging has ended)

Request Example

{
	"id": "lmn27zhq065q3u",
	"chain": "solana",
	"pairType": "pump",
	"pair": "fzLktjWBLFsSjncfkh79rUFqvafWcY5tzedWJyuypump",
	"walletId": "lvg40po10005q7",
	"tradeType": "sell",
	"amountOrPercent": 1,
	"customFeeAndTip": false,
	"priorityFee": "",
	"jitoEnabled": true,
	"jitoTip": 0.001,
	"expireDelta": 360000000,
	"maxSlippage": 0.1,
	"concurrentNodes": 2,
	"retries": 1
}

Request Response

{
	"err": false,
	"res": "",
	"docs": "https://dbotx.com/docs"
}

Request Parameters

  • id: Opening sell task id

  • chain: Currently fixed to "solana"

  • pairType: Currently fixed to "pump"

  • pair: Pump token address

  • walletId: The id of the wallet to be used

  • tradeType: Currently fixed to "sell"

  • amountOrPercent: Sell ratio (0-1), 0.5 means sell 50%

  • customFeeAndTip: "true" means both the priority fee (priorityFee) and the bribery tip (jitoTip) fields are valid, and the system will execute the transaction based on the provided values (null indicates automatic priority fee / bribery tip). "false" means that in turbo mode, only the priority fee (priorityFee) is valid, while in anti-MEV, only the bribery tip (jitoTip) is valid, and the system will allocate them automatically

  • priorityFee: Priority Fee (SOL), valid for Solana, empty string means use auto priority fee

  • jitoEnabled: "true" means enable anti-MEV mode (Solana & Ethereum)

  • jitoTip: Bribery tip used by Anti-MEV (Solana)

  • expireDelta: Task duration, max 864000000 (milliseconds)

  • maxSlippage: MAX slippage tolerance (0.00-1.00), when buying, it represents the difference between the actual price and the expected price. When selling, it represents the difference between the expected price and the actual price, the difference multiplier = 1/(1-slippage), 0.5 means a maximum of 2 times the accepted spread, 1 means unlimited spreads

  • concurrentNodes: Number of concurrent nodes (1-3)

  • retries: Number of retries after failure (0-10)

Last updated