getMarket

Returns a market object

Example

const market = await flux.getMarket(0);

Parameters

Parameter

Type

Description

Required

marketId

number

The id of the market in question

True

Returns

Name

Type

Description

market

Object

Promise that will resolve a markets object.

‚Äč