After subscribing to limit buy/sell failure notifications ("limit_buy_fail" & "limit_sell_fail"), a message will be sent when a limit buy or sell fails to execute (available for Plus / Pro / Enterprise)
Free | Plus | Pro | Enterprise | Credit Usage |
---|---|---|---|---|
❌ | ✅ | ✅ | ✅ | 0 |
Notes
DBot has deployed WS CDN acceleration networks in multiple countries and regions worldwide. However, developers still need to monitor the WebSocket connection status, implement their own reconnection logic, and ensure that a heartbeat subscription is sent at least once every minute (recommended every 30–55 seconds). Otherwise, the DBot message subscription system will automatically disconnect the connection due to timeout in order to free up WS resources.
Response Data
{
"method": "tradeResultNotify", // Currently fixed as "tradeResultNotify"
"result": {
"id": "mb4v2t4t0006jc", // Task id
"state": "fail", // Order state (init/processing/done/fail/expired)
"source": "limit_order", // Source of the trade: “swap_order” means from fast buy / sell, “limit_order” means from limit order or TP/SL, "trailing_stop_order" means from trailing stop order, “follow_order” means from copy trading
"subSource": null,
"chain": "solana", //Blockchain (solana/ethereum/base/bsc/tron)
"block": null, // Block number in which the trade occurred
"hash": null, // Transaction hash
"createAt": 1748250289686, // Transaction creation time (timestamp in ms)
"timestamp": null, // Time of successful transaction execution (timestamp in ms)
"wallet": "8eaBbELUHQYC8tWzfug72PjHjxJERLQ5rrRKEtpPU6o8", // Wallet address
"type": "buy", // Transaction type, including “buy” and “sell”
"token": "DzoDrrK9h1bfjf1dU9VhURthvPSMF8ihpc3ZGYf9pump", // Token mint address
"pair": "6F6wZRAgKRwYDkU8TeKQstk6YJByyuPsCSKf8B2XcaDv", // Trading pair address
"symbol": "ITRUMP",
"errorCode": "E_OTHERS", // Error type
"errorMessage": "simulate:AccountNotFound\n" // Error message
}
}