After subscribing to fast buy/sell and copy trading trailing stop failure notifications ("swap_trailing_stop_fail" & "follow_trailing_stop_fail"), a message will be sent when a trailing stop via fast buy/sell or copy trading 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": "mbhdedrd79rraz", // Task id
"state": "done", // Order state (init/processing/done/fail/expired)
"source": "trailing_stop_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": "swap_trailing_stop", // Source of take profit and stop loss: “follow_take_profit” means take profit from copy trading, “follow_stop_loss” means stop loss from copy trading, “swap_take_profit” means take profit from fast buy / sell, “swap_stop_loss” means stop loss from fast buy / sell, "follow_trailing_stop" means trailing stop from copy trading, "swap_trailing_stop"means trailing stop from fast buy / sell
"chain": "solana", // Blockchain (solana/ethereum/base/bsc/tron)
"block": 341892965, // Block number in which the trade occurred
"hash": "transaction hash", // Transaction hash
"createAt": 1747989979800, // Transaction creation time
"timestamp": 1747983980, // Time of successful transaction execution
"wallet": "8eaBbELUHQYC8tWzfug72PjHjxJERLQ5rrRKEtpPU6o8", // Wallet address
"type": "buy", // Transaction type, including “buy” and “sell”
"token": "B8CZf6Vma5BdViv4C8ndAtb4LbHFSDEdRH47GuEzpump", // Token contract address
"pair": "5aGh67ZCHyqmSR6NosgSb2JTGJz2EEb1SGTkSxncRM8a", // Trading pair address
"symbol": "drip", // Token symbol (display)
"send": {
"info": {
"contract": "B8CZf6Vma5BdViv4C8ndAtb4LbHFSDEdRH47GuEzpump", // Token contract address
"name": "sweet cute adorable", // Token name
"symbol": "suwi", // Token symbol
"decimals": 6, // Token decimals
"icon": null, // Token icon URL (nullable)
"totalSupply": "1000000000000000", // Total token supply
"tokenProgram": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", // SPL token program id
"mintAuthority": null, // Mint authority (nullable)
"freezeAuthority": null, // Freeze authority (nullable)
"createAt": 1747987142630 // Token creation timestamp
},
"amount": "2434393716" // Amount sent
},
"receive": {
"info": {
"contract": "So11111111111111111111111111111111111111112", // Token contract address
"name": "Wrapped SOL", // Token name
"symbol": "SOL", // Token symbol
"decimals": 9, // Token decimals
"icon": "https://assets-cdn.trustwallet.com/blockchains/solana/assets/So11111111111111111111111111111111111111112/logo.png", // Token icon URL
"totalSupply": null // Total token supply (nullable)
},
"amount": "902010" // Amount received
},
"priceUsd": 0.00006904040303561152, // Token price in USD
"dbotFee": "4510" // Trading fee charged for this transaction
}
}