### Dopp Docs Configuration Source: https://docs.dopp.finance/ Configuration object for the Dopp Finance documentation site, defining theme, colors, favicon, and navigation structure. This includes page titles, icons, and hierarchical organization for getting started guides and wallet usage. ```json { "$schema": "https://mintlify.com/docs.json", "theme": "mint", "name": "Dopp Docs", "colors": { "primary": "#8BADE4", "light": "#8BADE4", "dark": "#252f43" }, "favicon": "/favicon.svg", "navigation": { "tabs": [ { "tab": "Documentation", "groups": [ { "group": "Get Started", "pages": [ { "group": "Welcome to DOPP", "icon": { "name": "hand-wave", "style": "solid" }, "pages": [ "product/welcome-to-dopp/table-of-contents" ] }, { "group": "Getting Started", "icon": { "name": "laptop", "style": "solid" }, "pages": [ "product/welcome-to-dopp/getting-started", "product/welcome-to-dopp/getting-started/testnet-access", "product/welcome-to-dopp/getting-started/deploying-your-wallet-account", { "group": "Using Argent X Wallet", "icon": { "name": "key", "style": "solid" }, "pages": [ "product/welcome-to-dopp/getting-started/using-argent-x-wallet", "product/welcome-to-dopp/getting-started/using-argent-x-wallet/deposit-withdraw-collateral" ] }, { "group": "Using Braavos Wallet", "icon": { "name": "wallet", "style": "solid" }, "pages": [ "product/welcome-to-dopp/getting-started/using-braavos-wallet", "product/welcome-to-dopp/getting-started/using-braavos-wallet/deposit-withdraw-collateral" ] }, "product/welcome-to-dopp/getting-started/metamask-to-bridge-funds-only", "product/welcome-to-dopp/getting-started/bridging-eth-greater-than-strk", "product/welcome-to-dopp/getting-started/token-addresses", "product/welcome-to-dopp/getting-started/placing-orders", "product/welcome-to-dopp/getting-started/closing-an-order", "product/welcome-to-dopp/getting-started/cancelling-expired-orders" ] } ] } ] } ] } } ``` -------------------------------- ### Python WebSocket Client Example Source: https://docs.dopp.finance/api-reference/websockets/order_books/get-v1order_book_ws_handler Demonstrates how to connect to the Order Book WebSocket API using Python's `websockets` library. It establishes a connection, receives messages, and prints them to the console. Requires the `websockets` and `asyncio` libraries. ```python import websockets import asyncio import json async def main(): currency = "BTC" instrument_name = "BTC-26JUL24-67000-C" uri = f"wss://api.doppapp.com/v1/public/ws/get_order_book?currency={currency}&instrument_name={instrument_name}" async with websockets.connect(uri) as websocket: print("Connected to WebSocket") while True: try: message = await websocket.recv() data = json.loads(message) print(f"Received update: {data}") except websockets.exceptions.ConnectionClosed: print("WebSocket connection closed") break asyncio.get_event_loop().run_until_complete(main()) ``` -------------------------------- ### Python WebSocket Client Example Source: https://docs.dopp.finance/api-reference/websockets/open_orders/get-v1open_orders_by_currency An example Python script demonstrating how to connect to the Open Orders WebSocket API, receive real-time order updates, and handle potential connection closures. It requires the 'websockets' library. ```python import websockets import asyncio import json async def main(): currency = "BTC" wallet_address = "12345" uri = f"wss://api.doppapp.com/v1/public/ws/get_open_orders_by_currency?wallet_address={wallet_address}¤cy={currency}" async with websockets.connect(uri) as websocket: print("Connected to WebSocket") while True: try: message = await websocket.recv() data = json.loads(message) print(f"Received update: {data}") except websockets.exceptions.ConnectionClosed: print("WebSocket connection closed") break asyncio.get_event_loop().run_until_complete(main()) ``` -------------------------------- ### Connect to Order Books WebSocket API (Python) Source: https://docs.dopp.finance/api-reference/websockets/order_books/get-v1all_order_books Connects to the order book WebSocket API to receive real-time updates. Requires the 'websockets' library. The example demonstrates establishing a connection, receiving messages, and basic error handling for connection closure. ```python import websockets import asyncio import json async def main(): currency = "BTC" uri = f"wss://api.doppapp.comp.com/v1/public/ws/get_all_order_books?currency={currency}" async with websockets.connect(uri) as websocket: print("Connected to WebSocket") while True: try: message = await websocket.recv() data = json.loads(message) print(f"Received update: {data}") except websockets.exceptions.ConnectionClosed: print("WebSocket connection closed") break asyncio.get_event_loop().run_until_complete(main()) ``` -------------------------------- ### Dopp Finance Authentication API Reference Source: https://docs.dopp.finance/ Endpoints for managing user authentication and administration. Includes methods for creating API tokens, creating new users, and creating administrative accounts. ```APIDOC Authentication API Endpoints: POST /v1/private/create_token - Description: Create an API token for authentication. - Parameters: (Details not provided in source) - Returns: (Details not provided in source) POST /v1/private/create_user - Description: Create a new user account. - Parameters: (Details not provided in source) - Returns: (Details not provided in source) POST /v1/private/create_admin - Description: Create a new administrative account. - Parameters: (Details not provided in source) - Returns: (Details not provided in source) ``` -------------------------------- ### GET /v1/public/get_open_orders_by_side OpenAPI Specification Source: https://docs.dopp.finance/api-reference/trading/get-v1publicget_open_orders_by_side This OpenAPI specification defines the GET endpoint for retrieving open orders by currency and side. It includes request parameters, response schemas, and example data for successful retrieval of user's open orders. ```yaml paths: path: /v1/public/get_open_orders_by_side method: get request: security: [] parameters: path: {} query: base_currency: schema: - type: string required: true side: schema: - type: string required: true start_order_id: schema: - type: integer required: false - type: 'null' required: false end_order_id: schema: - type: integer required: false - type: 'null' required: false start_timestamp: schema: - type: integer required: false - type: 'null' required: false end_timestamp: schema: - type: integer required: false - type: 'null' required: false count: schema: - type: integer required: false - type: 'null' required: false sorting: schema: - type: string required: false - type: 'null' required: false header: {} cookie: {} body: {} response: '200': application/json: schemaArray: - type: array items: allOf: - $ref: '#/components/schemas/ListOpenOrdersResponse' examples: example: value: - open_orders: - amount: 123 amount_filled: 123 base_currency: creation_timestamp: 123 direction: instrument_id: instrument_name: order_id: 123 order_state: price: 123 wallet_address: description: Retrieves list of user's open orders. deprecated: false type: path components: schemas: ListOpenOrdersResponse: type: object required: - open_orders properties: open_orders: type: array items: $ref: '#/components/schemas/OpenOrderResponse' OpenOrderResponse: type: object required: - instrument_name - wallet_address - direction - amount - amount_filled - price - creation_timestamp - order_id - base_currency - instrument_id - order_state properties: amount: type: number format: double amount_filled: type: number format: double base_currency: type: string creation_timestamp: type: integer format: int32 direction: type: string instrument_id: type: string instrument_name: type: string order_id: type: integer format: int32 order_state: type: string price: type: number format: double wallet_address: type: string ``` -------------------------------- ### Next.js App Initialization Script Source: https://docs.dopp.finance/ This snippet represents the internal Next.js application initialization script, detailing the loading of JavaScript chunks, asset references, and routing configurations. It's part of the client-side bootstrapping process for a Next.js application. ```javascript self.__next_f=self.__next_f||[] self.__next_f.push([0]) self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[47132,[],\"\"]\n3:I[55983,[\"7261\",\"static/chunks/7261-2b892dc828f6e161.js\",\"9058\",\"static/chunks/9058-7f849e951ad85773.js\",\"8039\",\"static/chunks/app/error-dad69ef19d740480.js\"],\"default\"]\n4:I[75082,[],\"\"]\n"]) self.__next_f.push([1,"5:I[85506,[\"3473\",\"static/chunks/891cff7f-2ca7d0df884db9d0.js\",\"4129\",\"static/chunks/7bf36345-5ba13855b95a82b2.js\",\"1725\",\"static/chunks/d30757c7-56ff534f625704fe.js\",\"803\",\"static/chunks/cd24890f-549fb4ba2f588ca6.js\",\"7261\",\"static/chunks/7261-2b892dc828f6e161.js\",\"3892\",\"static/chunks/3892-251b69e2384ed286.js\",\"7417\",\"static/chunks/7417-548f041b716e378a.js\",\"1953\",\"static/chunks/1953-639d64e349958881.js\",\"9095\",\"static/chunks/9095-5e8c25cebc4b2bd6.js\",\"9779\",\"static/chunks/9779-7bb45d52151006b8.js\",\"3619\",\"static/chunks/3619-343a6d66f3553dac.js\",\"2398\",\"static/chunks/2398-3c77a562bc9286bb.js\",\"1862\",\"static/chunks/1862-d7c7b8aab3b4ffe6.js\",\"2755\",\"static/chunks/2755-e2a765a591a8496d.js\",\"1350\",\"static/chunks/1350-743c71d7707cb6c1.js\",\"5456\",\"static/chunks/app/%255Fsites/%5Bsubdomain%5D/(multitenant)/layout-b596e085fd7c2d45.js\"],\"ThemeProvider\"]\n"]) self.__next_f.push([1,"6:I[81925,[\"7261\",\"static/chunks/7261-2b892dc828f6e161.js\",\"9058\",\"static/chunks/9058-7f849e951ad85773.js\",\"9249\",\"static/chunks/app/%255Fsites/%5Bsubdomain%5D/error-d4ab46b84560464d.js\"],\"default\"]\n10:I[71256,[],\"\"]\n:HL[\"/mintlify-assets/_next/static/media/bb3ef058b751a6ad-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/mintlify-assets/_next/static/media/e4af272ccee01ff0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/mintlify-assets/_next/static/css/ca797da4e9f8f21c.css\",\"style\"]\n:HL[\"/mintlify-assets/_next/static/css/f61b4e54ca51c353.css\",\"style\"]\n:HL[\"/mintlify-assets/_next/static/css/19e66b131dc509b0.css\",\"style\"]\n"]) self.__next_f.push([1,"0:{\"P\":null,\"b\":\"plPZslKrztU1VTudTNazP\",\"p\":\"/mintlify-assets\",\"c\":[\"\",\"_sites\",\"docs.dopp.finance\",\"product\",\"welcome-to-dopp\",\"table-of-contents\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"%5Fsites\",{\"children\":[[ \"subdomain\", \"docs.dopp.finance\", \"d\"],{\"children\":[\"(multitenant)\",{\"topbar\":[\"children\",{\"children\":[[\"slug\",\"product/welcome-to-dopp/table-of-contents\",\"oc\"],{\"children\":[\"__PAGE__\",{}]}]},\"children\":[[\"slug\",\"product/welcome-to-dopp/table-of-contents\",\"oc\"],{\"children\":[\"__PAGE__\",{}]}]}]}]},\"$undefined\",\"$undefined\",true],[[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/mintlify-assets/_next/static/css/ca797da4e9f8f21c.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/mintlify-assets/_next/static/css/f61b4e54ca51c353.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[[\"$\",\"html\",null,{\"suppressHydrationWarning\":true,\"lang\":\"en\",\"className\":\"__variable_5f106d __variable_3bbdad dark\",\"data-banner-state\":\"visible\",\"data-page-mode\":\"none\",\"children\":[[[\"$\",\"head\",null,{\"children\":[[[\"$\",\"script\",null,{\"type\":\"text/javascript\",\"dangerouslySetInnerHTML\":{\"__html\":\"(function(a,b,c){try{let d=localStorage.getItem(a);if(null==d)for(let c=0;c password: private_key: token: user_name: response: '200': application/json: schemaArray: - type: object properties: password: allOf: - type: string token: allOf: - type: string nullable: true user_name: allOf: - type: string refIdentifier: '#/components/schemas/UserResponse' requiredProperties: - user_name - password examples: example: value: password: token: user_name: description: Admin created successfuly deprecated: false type: path components: schemas: {} ``` -------------------------------- ### Connect and Receive Last Trades Updates in Python Source: https://docs.dopp.finance/api-reference/websockets/trades/get-v1last_trades_by_instruments Example Python code demonstrating how to connect to the Last Trades by Instrument WebSocket API, subscribe to updates, and process received messages. Requires the 'websockets' library. ```Python import websockets import asyncio import json async def main(): currency = "BTC" instrument_name = "BTC-PERPETUAL" uri = f"wss://api.doppapp.com/v1/public/ws/get_last_trades_by_instrument?currency={currency}&instrument_name={instrument_name}" async with websockets.connect(uri) as websocket: print("Connected to WebSocket") while True: try: message = await websocket.recv() data = json.loads(message) print(f"Received update: {data}") except websockets.exceptions.ConnectionClosed: print("WebSocket connection closed") break asyncio.get_event_loop().run_until_complete(main()) ``` -------------------------------- ### Cloudflare Challenge Platform Script Loading Source: https://dopp.finance/discord This JavaScript snippet dynamically loads a script from Cloudflare's challenge platform. It ensures the script is loaded after the DOM is ready, handling cases where the DOM might not be immediately available. ```javascript (function() { function c() { var b = a.contentDocument || a.contentWindow.document; if (b) { var d = b.createElement('script'); d.nonce = 'NCwxMTIsMjUsNDcsMjEyLDE5NiwxNDcsMTk3'; d.innerHTML = "window.__CF$cv$params={r:'9647c63a8c530a89',t:'MTc1MzQwNTc5Mi4wMDAwMDA='};var a=document.createElement('script');a.nonce='NCwxMTIsMjUsNDcsMjEyLDE5NiwxNDcsMTk3';a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);"; b.getElementsByTagName('head')[0].appendChild(d) } } if (document.body) { var a = document.createElement('iframe'); a.height = 1; a.width = 1; a.style.position = 'absolute'; a.style.top = 0; a.style.left = 0; a.style.border = 'none'; a.style.visibility = 'hidden'; document.body.appendChild(a); if ('loading' !== document.readyState) c(); else if (window.addEventListener) document.addEventListener('DOMContentLoaded', c); else { var e = document.onreadystatechange || function() {}; document.onreadystatechange = function(b) { e(b); 'loading' !== document.readyState && (document.onreadystatechange = e, c()) } } } })(); ``` -------------------------------- ### Connect and Receive User Trades WebSocket Updates (Python) Source: https://docs.dopp.finance/api-reference/websockets/user_trades/get-v1last_user_trades_by_currency Python example demonstrating how to connect to the Last User Trades by Currency WebSocket API, receive trade updates, and parse JSON messages. Requires the 'websockets' library. ```Python import websockets import asyncio import json async def main(): wallet_address = "test_wallet_address" currency = "BTC" uri = f"wss://api.doppapp.com/v1/public/ws/get_user_trades_by_currency?wallet_address={wallet_address}¤cy={currency}" async with websockets.connect(uri) as websocket: print("Connected to WebSocket") while True: try: message = await websocket.recv() data = json.loads(message) print(f"Received update: {data}") except websockets.exceptions.ConnectionClosed: print("WebSocket connection closed") break asyncio.get_event_loop().run_until_complete(main()) ``` -------------------------------- ### Authentication API Source: https://docs.dopp.finance/ Endpoints for user authentication and creation. ```APIDOC POST /v1/private/create_user Description: Creates a new user account. Parameters: - (Request Body): User creation details. Returns: - User creation status and details. ``` -------------------------------- ### Page Metadata and SEO Configuration Source: https://docs.dopp.finance/ This snippet details the metadata and SEO configuration for the page, including title, description, site name, and social media sharing properties (Open Graph, Twitter Card). It also includes application-specific configurations like favicons and tile colors. ```APIDOC Page Metadata: __init__(title: str, description: str, applicationName: str) title: The main title of the page. description: A brief summary of the page content. applicationName: The name of the application. SEO Properties: og_title: Open Graph title for social sharing. og_description: Open Graph description for social sharing. og_type: Open Graph object type (e.g., 'website'). og_site_name: Open Graph site name. og_image: URL for the Open Graph image. og_image_width: Width of the Open Graph image. og_image_height: Height of the Open Graph image. twitter_card: Twitter Card type (e.g., 'summary_large_image'). twitter_title: Twitter title for social sharing. twitter_description: Twitter description for social sharing. twitter_image: URL for the Twitter image. twitter_image_width: Width of the Twitter image. twitter_image_height: Height of the Twitter image. Application Configuration: msapplication_config: Configuration for Microsoft browsers (e.g., browserconfig.xml). apple_mobile_web_app_title: Title for Apple mobile web app. msapplication_tile_color: Color for the Microsoft tile. charset: Character set for the document. apple_touch_icon: Path to the Apple touch icon. Example Usage: Page Metadata: title: "Table of Contents - Dopp Docs" description: "The following sections contain an in-depth view of DOPP basics, including the following sub-sections:" applicationName: "Dopp Docs" SEO Properties: og_title: "Table of Contents - Dopp Docs" og_description: "The following sections contain an in-depth view of DOPP basics, including the following sub-sections:" og_type: "website" og_site_name: "Dopp Docs" og_image: "https://dopp.mintlify.app/mintlify-assets/_next/image?url=%2Fapi%2Fog%3Fdivision%3DWelcome%2Bto%2BDOPP%26title%3DTable%2Bof%2BContents%26description%3DThe%2Bfollowing%2Bsections%2Bcontain%2Ban%2Bin-depth%2Bview%2Bof%2BDOPP%2Bbasics%252C%2Bincluding%2Bthe%2Bfollowing%2Bsub-sections%253A%26logoLight%3Dhttps%253A%252F%252Fmintlify.s3-us-west-1.amazonaws.com%252Fdopp%252Flogo%252Flight.svg%26logoDark%3Dhttps%253A%252F%252Fmintlify.s3-us-west-1.amazonaws.com%252Fdopp%252Flogo%252Fdark.svg%26primaryColor%3D%25238BADE4%26lightColor%3D%25238BADE4%26darkColor%3D%2523252f43%26backgroundLight%3D%2523ffffff%26backgroundDark%3D%25230c0c0f\u0026w=1200\u0026q=100" og_image_width: "1200" og_image_height: "630" twitter_card: "summary_large_image" twitter_title: "Table of Contents - Dopp Docs" twitter_description: "The following sections contain an in-depth view of DOPP basics, including the following sub-sections:" twitter_image: "https://dopp.mintlify.app/mintlify-assets/_next/image?url=%2Fapi%2Fog%3Fdivision%3DWelcome%2Bto%2BDOPP%26title%3DTable%2Bof%2BContents%26description%3DThe%2Bfollowing%2Bsections%2Bcontain%2Ban%2Bin-depth%2Bview%2Bof%2BDOPP%2Bbasics%252C%2Bincluding%2Bthe%2Bfollowing%2Bsub-sections%253A%26logoLight%3Dhttps%253A%252F%252Fmintlify.s3-us-west-1.amazonaws.com%252Fdopp%252Flogo%252Flight.svg%26logoDark%3Dhttps%253A%252F%252Fmintlify.s3-us-west-1.amazonaws.com%252Fdopp%252Flogo%252Fdark.svg%26primaryColor%3D%25238BADE4%26lightColor%3D%25238BADE4%26darkColor%3D%2523252f43%26backgroundLight%3D%2523ffffff%26backgroundDark%3D%25230c0c0f\u0026w=1200\u0026q=100" twitter_image_width: "1200" twitter_image_height: "630" Application Configuration: msapplication_config: "https://mintlify.s3-us-west-1.amazonaws.com/dopp/_generated/favicon/browserconfig.xml?v=3" apple_mobile_web_app_title: "Dopp Docs" msapplication_tile_color: "#8BADE4" charset: "utf-8" apple_touch_icon: "https://mintlify.s3-us-west-1.amazonaws.com/dopp/_generated/favicon/apple-touch-icon.pn" Related Links: sitemap.xml: "/sitemap.xml" ``` -------------------------------- ### Connect and Receive User Trades (Python) Source: https://docs.dopp.finance/api-reference/websockets/user_trades/get-v1last_user_trades_by_instruments Example Python script to connect to the WebSocket API, receive real-time trade updates, and print them. Requires the 'websockets' library. Demonstrates connection, message reception, and basic error handling for connection closure. ```python import websockets import asyncio import json async def main(): wallet_address = "test_wallet_address" instrument_name = "BTC-PERPETUAL" uri = f"wss://api.doppapp.com/v1/public/ws/get_user_trades_by_instrument?wallet_address={wallet_address}&instrument_name={instrument_name}" async with websockets.connect(uri) as websocket: print("Connected to WebSocket") while True: try: message = await websocket.recv() data = json.loads(message) print(f"Received update: {data}") except websockets.exceptions.ConnectionClosed: print("WebSocket connection closed") break asyncio.get_event_loop().run_until_complete(main()) ``` -------------------------------- ### OpenAPI: GET /v1/public/get_last_trades_by_instrument_and_time Source: https://docs.dopp.finance/api-reference/market-data/get-v1publicget_last_trades_by_instrument_and_time This endpoint retrieves the last trades for a specific financial instrument within a given time range. It requires the instrument name, start timestamp, and end timestamp. Optional parameters include count and sorting. The response contains an array of trade data. ```APIDOC paths: path: /v1/public/get_last_trades_by_instrument_and_time method: get request: security: [] parameters: path: {} query: instrument_name: schema: - type: string required: true start_timestamp: schema: - type: integer required: true end_timestamp: schema: - type: integer required: true count: schema: - type: integer required: false - type: 'null' required: false sorting: schema: - type: string required: false - type: 'null' required: false header: {} cookie: {} body: {} response: '200': application/json: schemaArray: - type: array items: allOf: - $ref: '#/components/schemas/ListTradesDataResponse' examples: example: value: - last_trades: - amount: 123 instrument_name: iv: 123 maker: mark_price: 123 order_id: 123 price: 123 taker: tick_direction: 123 timestamp: 123 trade_id: trade_seq: 123 description: Get last trades per instrument and time deprecated: false type: path components: schemas: ListTradesDataResponse: type: object required: - last_trades properties: last_trades: type: array items: $ref: '#/components/schemas/TradesDataResponse' TradesDataResponse: type: object required: - tick_direction - amount - mark_price - trade_seq - instrument_name - price - iv - timestamp - taker - maker - order_id - trade_id properties: amount: type: number format: double instrument_name: type: string iv: type: number format: double maker: type: string mark_price: type: number format: double order_id: type: integer format: int32 price: type: number format: double taker: type: string tick_direction: type: integer format: int32 timestamp: type: integer format: int64 trade_id: type: string trade_seq: type: integer format: int32 ``` -------------------------------- ### Product Navigation Cards Source: https://docs.dopp.finance/ Renders a series of navigation cards for different product features. Each card includes a title, an icon, and a link to the respective product page or resource. ```javascript function renderProductCards() { return [ _jsx(Card, { title: "Cross-Chain Bridges", icon: "bridge", iconType: "solid", href: "/product/cross-chain-bridges", horizontal: true }), _jsx(Card, { title: "Liquidations / Insurance Fund", icon: "vest", iconType: "solid", href: "/product/liquidation-and-insurance-fund", horizontal: true }), _jsx(Card, { title: "Referral Program", icon: "handshake", iconType: "solid", href: "/product/referral-program", horizontal: true }), _jsx(Card, { title: "Fees", icon: "sack-dollar", iconType: "solid", href: "/product/fees", horizontal: true }), _jsx(Card, { title: "Options Markets Specs", icon: "newspaper", iconType: "solid", href: "/product/options-markets-specs", horizontal: true }), _jsx(Card, { title: "One-Click Option Wizard", icon: "wand-magic-sparkles", iconType: "solid", href: "#", horizontal: true }), _jsx(Card, { title: "Trade & Earn", icon: "coins", iconType: "solid", href: "#", horizontal: true }), _jsx(Card, { title: "Resources & Links", icon: "link", iconType: "solid", href: "#", horizontal: true }), _jsx(Card, { title: "Code Audits", icon: "shield-check", iconType: "solid", href: "#", horizontal: true }), _jsx(Card, { title: "FAQs", icon: "person-circle-question", iconType: "solid", href: "/product/faqs", horizontal: true }), _jsx(Card, { title: "Media (Brand) Kit", icon: "palette", iconType: "solid", href: "https://www.notion.so/DOPP-Brand-Kit-b4b0a1112eae4d9db321b0748e06c47f", horizontal: true }) ]; } ``` -------------------------------- ### Get Expiration Timestamps API (OpenAPI) Source: https://docs.dopp.finance/api-reference/market-data/get-v1publicget_expiration_timestamps This OpenAPI specification defines the GET /v1/public/get_expiration_timestamps endpoint. It allows clients to retrieve a list of expiration timestamps by providing currency and kind as query parameters. The 'expired' parameter is optional and can filter results. The response is an array of integers representing timestamps. ```APIDOC paths: path: /v1/public/get_expiration_timestamps method: get request: security: [] parameters: path: {} query: currency: schema: - type: string required: true kind: schema: - type: string required: true expired: schema: - type: boolean required: false - type: 'null' required: false header: {} cookie: {} body: {} response: '200': application/json: schemaArray: - type: array items: allOf: - $ref: '#/components/schemas/ListExpirationTimestampResponse' examples: example: value: - expiration_timestamps: - 123 description: Get all expiries deprecated: false type: path components: schemas: ListExpirationTimestampResponse: type: object required: - expiration_timestamps properties: expiration_timestamps: type: array items: type: integer format: int64 ``` -------------------------------- ### DOPP API Configuration Source: https://docs.dopp.finance/ Configuration details for the DOPP documentation site, including API base URL, OpenAPI specification location, and UI elements. ```APIDOC name: "Dopp Docs" logo: light: "https://mintlify.s3-us-west-1.amazonaws.com/dopp/logo/light.svg" dark: "https://mintlify.s3-us-west-1.amazonaws.com/dopp/logo/dark.svg" favicon: "/favicon.svg" openapi: "https://api.doppapp.com/api-docs/openapi.json" api: baseUrl: "https://api.doppapp.com" colors: primary: "#8BADE4" light: "#8BADE4" dark: "#252f43" anchors: from: "#8BADE4" to: "#252f43" topbarCtaButton: name: "Trade Options" url: "https://www.dopp.finance" style: "roundedRectangle" arrow: true topbarLinks: - url: "mailto:support@dopp.finance" name: "Support" navigation: - group: "Get Started" pages: - group: "Welcome to DOPP" icon: "hand-wave" iconType: "solid" pages: - "product/welcome-to-dopp/table-of-contents" - group: "Getting Started" icon: "laptop" iconType: "solid" pages: - "product/welcome-to-dopp/getting-started" - "product/welcome-to-dopp/getting-started/testnet-access" - "product/welcome-to-dopp/getting-started/deploying-your-wallet-account" - group: "Using Argent X Wallet" icon: "key" iconType: "solid" pages: - "product/welcome-to-dopp/getting-started/using-argent-x-wallet" - "product/welcome-to-dopp/getting-started/using-argent-x-wallet/installing-argent-x" - "product/welcome-to-dopp/getting-started/using-argent-x-wallet/setting-up-your-wallet" - "product/welcome-to-dopp/getting-started/using-argent-x-wallet/connecting-to-dopp" - "product/welcome-to-dopp/getting-started/using-argent-x-wallet/managing-your-assets" - "product/welcome-to-dopp/getting-started/using-argent-x-wallet/security-best-practices" - "product/welcome-to-dopp/getting-started/using-argent-x-wallet/troubleshooting" ```