For AI agents: the documentation index is at /llms.txt, and this page is available as Markdown at /api/websocket/market-data/trending-assets.md.
Trending Assets
Receive
Server
Batch of trending assets ranked by recent vs. historical trading volume.
const socket = new WebSocket("wss://api.truemarkets.co/v1/defi/market");socket.addEventListener("message", (event) => { console.log(event.data);});- payload
type*"trending_assets"Value in
"trending_assets"timestamp*integerFormat
int64topics*array<>The concrete topic this message belongs to, e.g. ["trending_assets"] — even for all subscribers.
data*array<>Example
{ "type": "trending_assets", "timestamp": 0, "topics": [ "all" ], "data": [ { "symbol": "string", "address": "string", "chain": "string", "market_cap": "string", "trending_ratio": "string", "recent_volume": "string", "historical_volume": "string" } ]}