Get Perpetual Markets
Retrieves perpetual markets.
Method Declaration
Python
def get_perpetual_markets(self, market: str = None) -> Response
Unification Plan
- Add alias for the return type in Rust:
PerpetualMarketsMap
Parameters
Parameter | Location | Type | Required | Description |
---|---|---|---|---|
market | query | Ticker | false | The specific market ticker to retrieve. If not provided, all markets are returned. |
limit | query | u32 | false | Maximum number of asset positions to return in the response. |
Response
Status | Meaning | Schema | Description |
---|---|---|---|
200 | OK | PerpetualMarketMap | The perpetual markets data. |
400 | Bad Request | The request was malformed or invalid. | |
404 | Not Found | The market was not found. |