@drift-labs/common
Version:
Common functions for Drift
31 lines • 955 B
JavaScript
/**
* API URL constants for Drift protocol services
*
* These constants define the URLs used within the drift directory for various Drift services.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.API_ENDPOINTS = exports.API_URLS = void 0;
exports.API_URLS = {
/**
* Data API - Used for historical data, funding rates, candles, etc.
*/
DATA_API: 'https://data.api.drift.trade',
/**
* DLOB (Decentralized Limit Order Book) Server - Used for auction parameters, priority fees, etc.
*/
DLOB: 'https://dlob.drift.trade',
/**
* Swift Server - Used for signed message (gasless) orders
*/
SWIFT: 'https://swift.drift.trade',
};
/**
* API endpoints for specific functionality
*/
exports.API_ENDPOINTS = {
FUNDING_RATES: '/fundingRates',
BATCH_PRIORITY_FEES: '/batchPriorityFees',
AUCTION_PARAMS: '/auctionParams',
};
//# sourceMappingURL=apiUrls.js.map
;