代币信息变化通知
To Be Completed
订阅
Request
{"method":"subscribe","params":["orderstatus@{contractAddress}"]}
取消订阅
Request
{"method":"unsubscribe","params":["orderstatus@{contractAddress}"]}
Response
示例:
{
"topic": "<string>",
"event": "<string>",
"data": {
"chain": "<string>", // 链名称
"chainImage": "<string>", // 链图片
"symbol": "<string>", // 代币标识
"image": "<string>", // 代币图片URL
"contractAddress": "<string>", // 合约地址
"latestPrice": "<string>", // 最新价格
"latestPriceInUsd": "<string>", // 最新价格(USD)
"priceChange": <float64>, // 价格变化
"numberOfHolder": <uint64>, // 持有者数量
"tradingVolume": "<decimal128>", // 交易量
"formattedTradingVolume": "<string>", // 交易量(格式化)
"tradingQuantity": "<decimal128>", // 交易数量
"formattedTradingQuantity": "<string>", // 交易数量(格式化)
"poolCap": "<decimal128>", // 池子容量
"formattedPoolCap": "<string>", // 池子容量(格式化)
"marketCap": "<decimal128>", // 市值
"formattedMarketCap": "<string>", // 市值(格式化)
"fullyMarketCap": "<decimal128>", // 全市场容量
"formattedFullyMarketCap": "<string>", // 全市场容量(格式化)
"displayDecimal": <int>, // 显示小数位数
"chainCoinSymbol": "<string>", // 链上代币符号
"latestPriceInUsdF": <float64>, // 浮点格式的最新价格(USD)
"isWatch": <int>, // 是否关注
"weight": <int> // 自定义权重
}
}