Live Trades Alert (WS)

Live Trades Alert: Credit Usage 1

After subscribing to live trades of a pair, you will receive notifications whenever buy, sell, add liquidity, or remove liquidity occur for that pair

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

{
	"type": "tx",
	"result": [
		{
			"i": "1750745716459209741",
			"t": 1750745715,
			"tx": "3Ffb1Z4Y49QpzRQ6x8LZoipSgF1bb8LVUWr4nr1xk6bD13hxSTmYUFvHkUnAYaupHNNK26gSvLQCb1eS9ZJTw54K",
			"d": "pump swap program",
			"ac": "FTNziq8YPoHfYWbtHiXxscFZ3e3j6aWSmV2wDZjunt2y",
			"tt": "buy",
			"s": 1.919984302,
			"u": 278.80092049342,
			"q": 107817.195813
		}
	]
}

Response Parameters

  • type: Subscription type: "tx" for real-time transactions, "pairsInfo" for multi-pair data updates, "newPairInfo" for newly created pools / pairs, "pairInfo" for single pair data update

  • i: This transaction's ID

  • t: This transaction's time

  • tx: Transaction hash

  • d: Dex name where the transaction occurred

  • ac: Wallet address that made the trade (maker)

  • tt: Transaction type, including “buy/ sell / addLiq / removeLiq”

  • s: SOL amount in this transaction

  • u: USD value of this transaction

  • q: Token amount in this transaction

Last updated