Skip to main content

Get public mark price events

GET 

/market/:tradeable/price

Lists price events for a market.

Request

Path Parameters

    tradeable stringrequired

Query Parameters

    since timestamp-milliseconds

    Timestamp in milliseconds.

    before timestamp-milliseconds

    Timestamp in milliseconds.

    sort string

    Possible values: [asc, desc]

    Default value: desc

    Determines the order of events in response(s).

    • asc = chronological
    • desc = reverse-chronological
    continuation_token base64

    Opaque token from the Next-Continuation-Token header used to continue listing events. The sort parameter must be the same as in the previous request to continue listing in the same direction.

    count int64

    Possible values: >= 1

    The maximum number of results to return. The upper bound is determined by a global limit.

Responses

Schema
    len uint64required
    elements object[]required
  • Array [
  • uid stringrequired
    timestamp timestamp-millisecondsrequired
    event objectrequired
    price big-decimalrequired
  • ]
  • continuationToken base64

    Opaque token to pass to the next request to continue listing events. The sort parameter must be the same as in the previous request to continue listing in the same direction.

Loading...