add volume to api response (#413)

This commit is contained in:
Justin 2022-06-04 16:33:07 -04:00 committed by GitHub
parent f8c44efeba
commit e3eb43a14b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,6 +28,7 @@ export type LiteMarket = {
p?: number
totalLiquidity?: number
volume: number
volume7Days: number
volume24Hours: number
@ -60,6 +61,7 @@ export function toLiteMarket(contract: Contract): LiteMarket {
pool,
outcomeType,
mechanism,
volume,
volume7Days,
volume24Hours,
isResolved,
@ -92,6 +94,7 @@ export function toLiteMarket(contract: Contract): LiteMarket {
totalLiquidity,
outcomeType,
mechanism,
volume,
volume7Days,
volume24Hours,
isResolved,