curl --request GET \
--url https://mainnetapiserver.logx.network/api/v1/market
{
"body": {
"markets": [
{
"id": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z",
"Symbol": "<string>",
"Type": "PERPETUAL",
"AmtToQtmConversionExpo": 123,
"PriceToQtmConversionExpo": 123,
"MaxPositionValuex18": "<string>",
"MinAmountx18": "<string>",
"BaseAsset": "<string>",
"QuoteAsset": "<string>",
"IsActive": true,
"MakerFeeFractionx18": "<string>",
"TakerFeeFractionx18": "<string>",
"InitialMarginFractionx18": "<string>",
"MaintenanceMarginFractionx18": "<string>"
}
]
},
"message": "<string>",
"status": 123
}
curl --request GET \
--url https://mainnetapiserver.logx.network/api/v1/market
{
"body": {
"markets": [
{
"id": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z",
"Symbol": "<string>",
"Type": "PERPETUAL",
"AmtToQtmConversionExpo": 123,
"PriceToQtmConversionExpo": 123,
"MaxPositionValuex18": "<string>",
"MinAmountx18": "<string>",
"BaseAsset": "<string>",
"QuoteAsset": "<string>",
"IsActive": true,
"MakerFeeFractionx18": "<string>",
"TakerFeeFractionx18": "<string>",
"InitialMarginFractionx18": "<string>",
"MaintenanceMarginFractionx18": "<string>"
}
]
},
"message": "<string>",
"status": 123
}
Specifies the market type, either PERPETUAL or SPOT.
Market details were retrieved successfully.
The response is of type object
.