DBot Guide
DBot OfficialDBot DashboardDBot API
  • DBot | Automated DEX Trading
    • πŸ€–About DBot
    • πŸ“–Getting Started
    • 🌈Forever Free
    • πŸ”₯Referral Program
  • FAQ
    • ❓Help
      • πŸ’‘About DBot
      • πŸ’‘About Copy Trading/Sniping
      • πŸ’‘About Slippage
      • πŸ’‘About Pump
      • πŸ’‘Wallet Login
      • πŸ’‘Account Rebinding
      • πŸ’‘EVM transaction failed
      • πŸ’‘SOL transaction failed
      • πŸ’‘Case Explanation
    • 🚨Safety Tips
      • Security Alert
      • Device Management
      • API KEY
      • API Whitelist IPs
      • Google Authenticator (2FA)
    • πŸ”–Changelog
  • DEX Trading Bot
    • πŸ”₯Auto Copy Trading
      • Copy Filter
      • Copy Records
      • Copy Group
      • Copy Templates
      • Token Blacklist
    • πŸ”₯Auto Limit Order
    • πŸ”₯Auto Sniper
    • πŸ”₯Fast Buy/Sell
    • πŸ”₯Auto TP/SL
    • πŸ”«Pump Trading
    • ⏰Trigger Order
      • Opening Sell
      • Dev Sell
    • πŸ’°Sol Bribery
    • πŸ“ŠHolding/Assets
    • πŸ“ˆMarketing
    • πŸ“‘Billing
    • πŸ“–User Audit
    • βš™οΈDBot Settings
      • Multi Language
      • Default Chain
      • Default Wallet/Trading Fee Wallet
      • Cancel default restrictions
      • Template settings
      • Google Authenticator (2FA)
      • Security Alert
      • Device Management
  • Telegram Bot
    • πŸ€–Telegram Bot (Trading)
      • πŸ’‘How to Bind/Rebind
      • 🌈Referral Rewards
      • πŸ‘›Wallet Management
      • πŸ“ŠHolding/Assets
      • πŸ”₯Fast Buy/Sell
      • πŸ”₯Copy Trading
      • πŸ”₯Limit Order
      • πŸ”₯Auto Sniper
      • πŸ”₯Auto TP/SL
      • πŸ’°Opening Sell
      • πŸ’°Dev Sell
      • πŸ’°Auto Buy
      • πŸ’ΉMulti-wallet buy/sell
      • 🚨Security Alert
      • πŸ“ŒToken Multisender
      • πŸ’΅Token Collection
      • πŸ’₯Token Burner
      • πŸ’‘Template Settings
      • 🌎Multi Language
    • πŸ€–Telegram Bot (Alert)
      • Single-Wallet Monitoring
      • Multi-Wallet Monitoring
    • πŸ€–Telegram Bot (Group)
  • Discord Bot
    • πŸ€–Discord Bot (Group)
  • DBot Free Tools
    • πŸ“ˆDEX Simulator
    • πŸ“ŒToken Multisender (free/no limit)
    • πŸ’΅Token Collection (free/no limit)
    • πŸ’₯Token Burner (Solana)
    • πŸ‘›Wallet Transfer(only gas fee)
    • πŸ’°Smart Money Monitoring
  • DBot Developer
    • Automated DEX API
    • DBot APIs
      • Wallet Management API
        • Wallet Import (POST)
        • Wallet Delete (DELETE)
        • Wallet Info (GET)
      • Task Management API
        • Create Task
          • Fast Buy/Sell (POST)
          • (Muti)Fast Buy/Sell (POST)
          • Create Copy Trading (POST)
          • Create Limit Order (POST)
          • Create Opening Sell (POST)
          • Create Dev Sell (POST)
          • Create Auto Sniper (POST)
        • Edit Task
          • Edit Copy Trading (POST)
          • Edit Limit Order (PATCH)
          • Edit Trailing Stop (PATCH)
          • Edit Opening Sell (PATCH)
          • Edit Dev Sell (PATCH)
        • Enable/Disable Task
          • Disable Copy Trading (PATCH)
          • Disable Limit Order (PATCH)
          • Disable Trailing Stop (PATCH)
          • Disable Opening Sell (PATCH)
          • Disable Dev Sell (PATCH)
          • Disable Auto Sniper (PATCH)
          • (Multi)Disable Copy Trading (PATCH)
          • Disable Trailing Stop Tasks (PATCH)
          • Disable Dev Sell Tasks (PATCH)
          • Disable Auto Snipers (PATCH)
          • Disable Opening Sell Tasks (PATCH)
        • Delete Task
          • Delete Copy Trading (DELETE)
          • Delete Limit Order (DELETE)
          • Delete Limit Orders (POST)
          • Delete All Limit Orders (DELETE)
          • Delete Trailing Stop (DELETE)
          • Delete Trailing Stop Tasks (POST)
          • Delete All Trailing Stop (DELETE)
          • Delete Opening Sell (DELETE)
          • Delete Dev Sell (DELETE)
          • Delete Auto Sniper (PATCH)
        • Group
          • Create Group (POST)
          • Edit Group (PATCH)
          • Delete Group (DELETE)
          • Group Info (GET)
      • Transaction Info API
        • Query Task
          • Swap Order Info (GET)
          • Copy Trading Tasks (GET)
          • Limit Orders (GET)
          • Auto Sniper Tasks (GET)
          • Opening Sell Tasks (GET)
          • Dev Sell Tasks (GET)
          • TP/SL Tasks-Fast Buy/Sell (GET)
          • TP/SL Tasks (copy trading) (GET)
          • Trailing Stop Tasks (GET)
        • Query Trading Record
          • Trading Records (GET)
          • Copy Records (GET)
          • Fast Buy & Sell Records (GET)
      • Simulator API
        • Simulator Auto Sniper (POST)
        • Simulator Copy Trading (POST)
        • Simulator Limit Order (POST)
        • Simulator Fast Buy / Sell (POST)
        • Simulator Account Info (GET)
      • Batch Tool API
        • Token Multisender (POST)
        • Token Collection (POST)
      • Enterprise API
        • Wallet Assets (GET)
        • Pool Info (SOL) (GET)
        • Pool Info (EVM) (GET)
    • DBot WebSocket
      • Trade WebSocket
        • Subscribe to trade results (WS)
        • Fast buy/sell success alert (WS)
        • Fast buy/sell failure alert (WS)
    • API KEY
    • API Whitelist IPs
  • DBot Cobuild
    • 🀝Contact Us
    • 😎Join Alpha
Powered by GitBook
On this page
  • Fast buy/sell failure alert
  • Notes
  • Results
  • Response Parameters
  1. DBot Developer
  2. DBot WebSocket
  3. Trade WebSocket

Fast buy/sell failure alert (WS)

Fast buy/sell failure alert

After subscribing to quick buy/sell failure notifications ("swap_buy_fail" & "swap_sell_fail"), a message will be sent when a quick buy or sell fails to execute (available for Plus / Pro / Enterprise)

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.

Results

{
	"method": "tradeResultNotify",
	"result": {
		"id": "mb4v2t4t0006jc",
		"state": "fail",
		"source": "swap_order",
		"subSource": null,
		"chain": "solana",
		"block": null,
		"hash": null,
		"createAt": 1748250289686,
		"timestamp": null,
		"wallet": "8eaBbELUHQYC8tWzfug72PjHjxJERLQ5rrRKEtpPU6o8",
		"type": "buy",
		"token": "DzoDrrK9h1bfjf1dU9VhURthvPSMF8ihpc3ZGYf9pump",
		"pair": "6F6wZRAgKRwYDkU8TeKQstk6YJByyuPsCSKf8B2XcaDv",
		"symbol": "ITRUMP",
		"errorCode": "E_OTHERS",
		"errorMessage": "simulate:AccountNotFound\n"
	}
}

Response Parameters

  • method: Currently fixed as "tradeResultNotify"

  • id: Task id

  • state: Order state (init/processing/done/fail/expired)

  • source: Source of the trade: β€œswap_order” means from fast buy / sell

  • chain: Blockchain (solana/ethereum/base/bsc/tron)

  • block: Block number in which the trade occurred

  • hash: Transaction hash

  • createAt: Transaction creation time

  • timestamp: Time of successful transaction execution

  • wallet: Wallet address

  • type: Transaction type, including β€œbuy” and β€œsell”

  • pair: Trading pair address

  • errorCode: Error type

  • errorMessage: Error message

PreviousFast buy/sell success alert (WS)NextAPI KEY

Last updated 4 days ago