API Reference
DBot OfficialDBot DashboardPricing

Copy buy/sell success alert (WS)

After subscribing to copy buy/sell success notifications ("follow_buy_success" & "follow_sell_success"), a message will be sent when a copy buy or sell is successfully executed (available for Plus / Pro / Enterprise)

FreePlusProEnterpriseCredit 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": "m78h2zqy0odx0e_mbhflitnqxijl7", // Task id
    "state": "done", // Order state (init/processing/done/fail/expired)
    "source": "follow_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": 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 address
    "pair": "5aGh67ZCHyqmSR6NosgSb2JTGJz2EEb1SGTkSxncRM8a", // Trading pair address
    "symbol": "drip", // Token symbol
    "send": {
      "info": { // Information of token sent
        "contract": "B8CZf6Vma5BdViv4C8ndAtb4LbHFSDEdRH47GuEzpump",
        "name": "sweet cute adorable",
        "symbol": "suwi",
        "decimals": 6,
        "icon": null,
        "totalSupply": "1000000000000000",
        "tokenProgram": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
        "mintAuthority": null,
        "freezeAuthority": null,
        "createAt": 1747987142630
      },
      "amount": "2434393716" // Amount sent
    },
    "receive": {
      "info": { // Information of token receive
        "contract": "So11111111111111111111111111111111111111112",
        "name": "Wrapped SOL",
        "symbol": "SOL",
        "decimals": 9,
        "icon": "icon url",
        "totalSupply": null
      },
      "amount": "902010" // Amount received
    },
    "priceUsd": 0.00006904040303561152, // Token price in USD
    "dbotFee": "4510" // Trading fee charged for this transaction
  }
}