After subscribing to live trades of a pair, you will receive notifications whenever buy, sell, add liquidity, or remove liquidity occur for that pair
Free | Plus | Pro | Enterprise | Credit Usage |
---|---|---|---|---|
✅ | ✅ | ✅ | ✅ | 1 |
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
{
"type": "tx", // 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
"result": [
{
"i": "1750745716459209741", // This transaction's ID
"t": 1750745715, // This transaction's time
"tx": "transaction hash", // Transaction hash
"d": "pump swap program", // Dex name where the transaction occurred
"ac": "FTNziq8YPoHfYWbtHiXxscFZ3e3j6aWSmV2wDZjunt2y", // Wallet address that made the trade (maker)
"tt": "buy", // Transaction type, including “buy/ sell / addLiq / removeLiq”
"s": 1.919984302, // SOL amount in this transaction
"u": 278.80092049342, // USD value of this transaction
"q": 107817.195813 // Token amount in this transaction
}
]
}