add volume to api response (#413)
This commit is contained in:
parent
f8c44efeba
commit
e3eb43a14b
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user