?network=testnet|mainnet.
Subscribes to live price updates for Gold (XAU/USD).
Returns live Supra DORA spot price and decimals.
Returns latest signed binary price update data for smart contract execution.
Returns global Brokex protocol state (vault balance, locked capital, owner, security mode, 24h volume analytics, active assets, and assets config snapshot).
Returns full parameters (min/max leverage, spreads, borrow rates, max OI, dynamic OI, locked capital) for all active listed assets.
Returns most recent trades across the entire protocol with pagination (limit, offset / skip) and optional status filter (status=OPEN|CLOSED|CREATED|CANCELLED).
Returns all open, closed, created and cancelled trades for a trader address, including transactions and events history.
Returns full details for a specific trade (creationTxHash, openingTxHash, closingTxHash, all txHashes & event audit trail).
Returns latest Lens snapshot (?network=testnet|mainnet).
Returns exact calculated liquidation prices for open trades.
Calculates weighted average open prices for Long and Short.
Returns historical candlesticks (open, high, low, close, volume, time) for TradingView and custom charts. Supports resolutions: 1 (1m), 5 (5m), 15 (15m), 30 (30m), 60 (1h), 240 (4h), 1440 (1d).
Returns 1h, 24h, 7d and 30d percentage variations along with a 120-point sampled sparkline array for lightweight mini-charts.
Returns 24h lowest price (low_24h), 24h highest price (high_24h), 24h open, price variations and 120-pt sparkline.
Returns 1h, 24h and 7d percentage variations and spot prices for Top Forex, Metals (Gold, Silver, Platinum), Commodities (Crude Oil), Cryptos (BTC, ETH, SOL...) and US Equities (AAPL, TSLA, NVDA...).
Forces a live re-fetch from Pyth Benchmarks and updates data/marketsSummary.json on disk immediately.