Last updated 10 months ago
"BTC-USDC"
"BTC"
"USDC"
const response = await fetch('/v1/public/markets', { method: 'GET', headers: {}, }); const data = await response.json();
[ { "id": "BTC-USDC", "name": "BTC-USDC", "assetId": "BTC", "collateralAssetId": "USDC", "status": "TRADABLE", "metadataUrl": "text", "settings": { "tickSize": 0, "tickPrecision": 0, "stepSize": 0, "stepPrecision": 0, "minOrderSize": 0, "minLeverage": 0, "maxLeverage": 0, "maintenanceMarginFraction": 0, "initialMarginFraction": 0, "incrementalInitialMarginFraction": 0, "incrementalPositionSize": 0, "baselinePositionSize": 0, "maxPositionSize": 0, "currentlyAllowedLeverage": 0 } } ]