Skip to content

Commit

Permalink
blex add volume and derivatives volume
Browse files Browse the repository at this point in the history
  • Loading branch information
dalveytech-zero committed Oct 10, 2023
1 parent 55d703d commit ed18038
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dexs/blex/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ interface IGraphResponse {
timestamp: dayTimestamp,
dailyVolume:
dailyData.summaries.length == 1
? String(Number(Object.values(dailyData.summaries[0]).reduce((sum, element) => String(Number(sum) + Number(element)))) * 10 )
? String(Number(Object.values(dailyData.summaries[0]).reduce((sum, element) => String(Number(sum) + Number(element)))) * 10 ** -30)
: undefined,
totalVolume:
totalData.summaries.length == 1
? String(Number(Object.values(totalData.summaries[0]).reduce((sum, element) => String(Number(sum) + Number(element)))) * 10 )
? String(Number(Object.values(totalData.summaries[0]).reduce((sum, element) => String(Number(sum) + Number(element)))) * 10 ** -30)
: undefined,
}
}
Expand Down

0 comments on commit ed18038

Please sign in to comment.