diff --git a/src/controllers/stats.controller.ts b/src/controllers/stats.controller.ts index 5c3353a..9333c55 100644 --- a/src/controllers/stats.controller.ts +++ b/src/controllers/stats.controller.ts @@ -66,6 +66,9 @@ class StatsController { change_24h_percent: (pair.coefficient || 0).toString(), volume_24h: (pair.volume || 0).toString(), market_cap: marketCap, + name: targetAsset.asset_info?.full_name || '', + ticker: targetAsset.asset_info?.ticker || '', + pair_id: pair.id.toString(), }; if ( diff --git a/src/interfaces/responses/stats/getAssetStatsRes.ts b/src/interfaces/responses/stats/getAssetStatsRes.ts index 7ac65a7..88572fe 100644 --- a/src/interfaces/responses/stats/getAssetStatsRes.ts +++ b/src/interfaces/responses/stats/getAssetStatsRes.ts @@ -4,6 +4,9 @@ interface getAssetStatsRes { change_24h_percent: string; volume_24h: string; market_cap: string; + name: string; + ticker: string; + pair_id: string; period_data?: { price_change_percent: string; volume: string;