Stats Service (1.0.0)

Download OpenAPI specification:Download

Statistics service.

Gets all markets.

Gets all markets.

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Gets a market of the specified market seed.

Gets a market of the specified market seed.

path Parameters
marketSeed
required
string

The market seed

Responses

Response samples

Content type
application/json
{
  • "public_key": "string",
  • "seed": "string",
  • "liquidity_pool_amount": {
    },
  • "total_outstanding_credit": {
    },
  • "lp_token_price": {
    },
  • "treasury_amount": {
    }
}

Gets lp token price of the specified market seed.

Gets lp token price of the specified market seed.

path Parameters
marketSeed
required
string

The market seed

query Parameters
timestamp
number

Responses

Response samples

Content type
application/json
{
  • "timestamp": "string",
  • "marketStateKey": "string",
  • "price": {
    }
}

Gets the metrics in Prometheus format.

Gets the metrics in Prometheus format.

Responses

Gets the openapi json definition.

Gets the openapi json definition.

Responses

Response samples

Content type
application/json
{ }