Pair Updates Alert (WS)

Pair Updates Alert: Credit Usage 1

After subscribing to a specified pair’s updates, you will receive alerts when its price / volume, or other data change

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": "pairInfo",
	"result": {
		"bt1m": 358,
		"bt5m": 1788,
		"bt1h": 21191,
		"bt6h": 30387,
		"bt24h": 30387,
		"bv1m": 198918.83595973003,
		"bv5m": 986988.4214673418,
		"bv1h": 11581109.566755742,
		"bv6h": 16198100.514127307,
		"bv24h": 16198100.514127307,
		"pc1m": 0.12832826169646244,
		"pc5m": 0.2330995063652897,
		"pc1h": 0.9369082598759383,
		"pc6h": 23.834911830882735,
		"pc24h": 23.834911830882735,
		"st1m": 358,
		"st5m": 1788,
		"st1h": 21190,
		"st6h": 30370,
		"st24h": 30370,
		"sv1m": 193220.56444339993,
		"sv5m": 976396.5726491101,
		"sv1h": 11542690.972270506,
		"sv6h": 16122632.161363669,
		"sv24h": 16122632.161363669,
		"tp": 0.0000016296673031475173,
		"tr": 350150376.073629,
		"sr": 570.628619072,
		"cr": 570.628619072,
		"t10": 0.18845726882494,
		"blp": null,
		"fa": true,
		"ma": true
	}
}

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

  • bt(1m/5m/1h/6h/24h): Buy times of the current pair in 1 minute, 5 minutes, 1 hour, 6 hours, and 24 hours

  • bv(1m/5m/1h/6h/24h): Buy volume of the current pair in 1 minute, 5 minutes, 1 hour, 6 hours, and 24 hours

  • pc(1m/5m/1h/6h/24h): Price change of the current pair in 1 minute, 5 minutes, 1 hour, 6 hours, and 24 hours (e.g., 0.1 means 10%)

  • st(1m/5m/1h/6h/24h): Sell times of the current pair in 1 minute, 5 minutes, 1 hour, 6 hours, and 24 hours

  • sv(1m/5m/1h/6h/24h): Sell volume of the current pair in 1 minute, 5 minutes, 1 hour, 6 hours, and 24 hours

  • t10: Top 10 holding ratio

  • blp: Pool burnt ratio

  • tp: Token price in base currency

  • tr: Token amount in the current liquidity pool

  • cr: Native token amount in the current liquidity pool

  • lp: Internal platform progress

  • fa: Is the token freezeable

  • ma: Is the token mintable

Last updated