{"version":1,"pages":[{"id":"29286fa3470672429600f3b304480d2bd094b0e4","title":"About AFX","pathname":"/","siteSpaceId":"sitesp_BbJ2j","description":"","breadcrumbs":[{"label":"AFX Docs"}]},{"id":"2Mg1d1ZPpNByCsWZGJbN","title":"Core contributors","pathname":"/about-afx/core-contributors","siteSpaceId":"sitesp_BbJ2j","description":"","breadcrumbs":[{"label":"AFX Docs"},{"label":"About AFX"}]},{"id":"DiAkCldKoaxCAOlSuGX6","title":"Deposit","pathname":"/deposit","siteSpaceId":"sitesp_BbJ2j","description":"AFX accepts one asset on one network: USDC on Arbitrum. Here is how to get it there from any starting point, and how to avoid the mistakes that trip people up.","breadcrumbs":[{"label":"AFX Docs"}]},{"id":"8bff963d3cd2ad25e9ec064627f06fed3525895f","title":"Trading Rules","pathname":"/trading-rules","siteSpaceId":"sitesp_BbJ2j","description":"","breadcrumbs":[{"label":"AFX Docs"}]},{"id":"1a13e245b21826602eca21ab59fed54c2f5fa707","title":"Supported Assets","pathname":"/trading-rules/supported-assets","siteSpaceId":"sitesp_BbJ2j","description":"","breadcrumbs":[{"label":"AFX Docs"},{"label":"Trading Rules"}]},{"id":"b93557173d9a709eba1fd70ca79344e5f2c07198","title":"Leverage","pathname":"/trading-rules/leverage","siteSpaceId":"sitesp_BbJ2j","description":"","breadcrumbs":[{"label":"AFX Docs"},{"label":"Trading Rules"}]},{"id":"7080fc6f1e78fc74fd7d30f14417b2286b41bfc0","title":"Margin Modes","pathname":"/trading-rules/margin-modes","siteSpaceId":"sitesp_BbJ2j","description":"","breadcrumbs":[{"label":"AFX Docs"},{"label":"Trading Rules"}]},{"id":"e8e303dee540e5e1ea767abc82f00061a53060e1","title":"Position Modes","pathname":"/trading-rules/position-modes","siteSpaceId":"sitesp_BbJ2j","description":"","breadcrumbs":[{"label":"AFX Docs"},{"label":"Trading Rules"}]},{"id":"476218120463f59513dbe808c5ddebfa3c63b4e3","title":"Order Types","pathname":"/trading-rules/order-types","siteSpaceId":"sitesp_BbJ2j","description":"","breadcrumbs":[{"label":"AFX Docs"},{"label":"Trading Rules"}]},{"id":"3ce6be3f80e2f2460b0cb0c5920818c0124ca410","title":"Order Matching","pathname":"/trading-rules/order-matching","siteSpaceId":"sitesp_BbJ2j","description":"","breadcrumbs":[{"label":"AFX Docs"},{"label":"Trading Rules"}]},{"id":"5207a51f9e9f788eaf826d45765bcf0c008294a8","title":"Slippage","pathname":"/trading-rules/slippage","siteSpaceId":"sitesp_BbJ2j","description":"","breadcrumbs":[{"label":"AFX Docs"},{"label":"Trading Rules"}]},{"id":"1cb91d90908830763bdc6b1249dbbb4a728daac7","title":"Take profit and stop loss (TP/SL)","pathname":"/trading-rules/take-profit-and-stop-loss-tp-sl","siteSpaceId":"sitesp_BbJ2j","description":"","breadcrumbs":[{"label":"AFX Docs"},{"label":"Trading Rules"}]},{"id":"5507563a84479fa4779f30efbbd1d510307e6c7e","title":"Risk Limits","pathname":"/trading-rules/risk-limits","siteSpaceId":"sitesp_BbJ2j","description":"","breadcrumbs":[{"label":"AFX Docs"},{"label":"Trading Rules"}]},{"id":"f5d1157d1137ffa1a447544066eea68a1fdbf9f3","title":"Liquidation","pathname":"/trading-rules/liquidation","siteSpaceId":"sitesp_BbJ2j","description":"","breadcrumbs":[{"label":"AFX Docs"},{"label":"Trading Rules"}]},{"id":"132cb00fda606f2d837ebfe5817faf7961705069","title":"Liquidation Process","pathname":"/trading-rules/liquidation-process","siteSpaceId":"sitesp_BbJ2j","description":"","breadcrumbs":[{"label":"AFX Docs"},{"label":"Trading Rules"}]},{"id":"d463d93d3367202bac647ef86dc9026a17049031","title":"ADL","pathname":"/trading-rules/adl","siteSpaceId":"sitesp_BbJ2j","description":"","breadcrumbs":[{"label":"AFX Docs"},{"label":"Trading Rules"}]},{"id":"83adbfe9d88fc802d15a6b9152c85fe8d6d3fa9f","title":"Oracle Price","pathname":"/trading-rules/oracle-price","siteSpaceId":"sitesp_BbJ2j","description":"","breadcrumbs":[{"label":"AFX Docs"},{"label":"Trading Rules"}]},{"id":"f1a7a64688916505268ebbf38b2625961a375182","title":"Mark Price","pathname":"/trading-rules/mark-price","siteSpaceId":"sitesp_BbJ2j","description":"","breadcrumbs":[{"label":"AFX Docs"},{"label":"Trading Rules"}]},{"id":"053f41c0486702bc10c0a4fb46fe4abb4c4ab085","title":"Funding Rate","pathname":"/trading-rules/funding-rate","siteSpaceId":"sitesp_BbJ2j","description":"","breadcrumbs":[{"label":"AFX Docs"},{"label":"Trading Rules"}]},{"id":"b892a296b9dfc4e07e8b45e2631353992b5dff38","title":"Vaults","pathname":"/vaults","siteSpaceId":"sitesp_BbJ2j","description":"","breadcrumbs":[{"label":"AFX Docs"}]},{"id":"d7ec5ff56cb14a750d91bec9a96b0cf9c4a0b8e9","title":"LP Vault","pathname":"/vaults/lp-vault","siteSpaceId":"sitesp_BbJ2j","description":"","breadcrumbs":[{"label":"AFX Docs"},{"label":"Vaults"}]},{"id":"c95daf6e5215dc856cbba8c631950a5a930374dd","title":"Affiliate Program","pathname":"/affiliate-program","siteSpaceId":"sitesp_BbJ2j","description":"","breadcrumbs":[{"label":"AFX Docs"}]},{"id":"ee20585b3a6fd5f404bd4629771206652e64e8bd","title":"VIP Program","pathname":"/vip-program","siteSpaceId":"sitesp_BbJ2j","description":"","breadcrumbs":[{"label":"AFX Docs"}]},{"id":"5b5075d5e2b549b55ebde63d7b74f31854f98721","title":"Points","pathname":"/points","siteSpaceId":"sitesp_BbJ2j","description":"","breadcrumbs":[{"label":"AFX Docs"}]},{"id":"FGnXRpDRUXnmR3nrttFC","title":"Season 1","pathname":"/points/season-1","siteSpaceId":"sitesp_BbJ2j","description":"","breadcrumbs":[{"label":"AFX Docs"},{"label":"Points"}]},{"id":"3e347ebc3152e319cd3f147345b52629002c6347","title":"Testnet Points","pathname":"/points/testnet-points","siteSpaceId":"sitesp_BbJ2j","description":"","breadcrumbs":[{"label":"AFX Docs"},{"label":"Points"}]},{"id":"278LaYBLIF6YkwVUJJhv","title":"Audits","pathname":"/audits","siteSpaceId":"sitesp_BbJ2j","description":"","breadcrumbs":[{"label":"AFX Docs"}]},{"id":"0VIAxVlEf2JC6puel6PO","title":"Welcome to AFX Learn","pathname":"/welcome-to-afx-learn","siteSpaceId":"sitesp_BbJ2j","description":"Free, plain-English guides on perpetual futures trading: how perps work, how to trade on-chain, funding rates, liquidation, stock and gold perps, and more. Start learning with AFX.","breadcrumbs":[{"label":"AFX Docs"}]},{"id":"8SrJFLyKtuLmnHHENcV3","title":"What Is a Perpetual DEX? Guide to On-Chain Perpetual Futures","pathname":"/basics/what-is-a-perpetual-dex","siteSpaceId":"sitesp_BbJ2j","description":"Learn what a perpetual DEX (perp DEX) is and how on-chain perpetual futures trading works. Explore funding rates, leverage, liquidations, benefits, risks, and self-custody.","breadcrumbs":[{"label":"AFX Docs"},{"label":"Basics"}]},{"id":"brX94agvGmJHoPJ1qELv","title":"What Is a Funding Rate? How It Works in Perpetual Futures","pathname":"/basics/what-is-funding-rate","siteSpaceId":"sitesp_BbJ2j","description":"Learn how funding rates work in perpetual futures, who pays them, how they affect holding costs, and why their calculation varies by platform.","breadcrumbs":[{"label":"AFX Docs"},{"label":"Basics"}]},{"id":"5djsWy20UYeeABPxPaEq","title":"What Is Liquidation in Perpetual Trading? How It Works & How to Avoid It","pathname":"/basics/what-is-liquidation","siteSpaceId":"sitesp_BbJ2j","description":"Liquidation is the automatic closure of a leveraged position when your margin falls below the required level. Learn what triggers it, what happens to your funds, and how to avoid it.","breadcrumbs":[{"label":"AFX Docs"},{"label":"Basics"}]},{"id":"V5o8L1pRF2eVOwpVzl48","title":"On-Chain Perps vs CEX Perps: Key Differences Explained (2026) ","pathname":"/basics/on-chain-vs-cex-perps","siteSpaceId":"sitesp_BbJ2j","description":"On-chain perps keep your funds in your own wallet; CEX perps hand custody to the exchange. Compare custody, fees, transparency, liquidity, and asset access — and see when each makes sense.","breadcrumbs":[{"label":"AFX Docs"},{"label":"Basics"}]},{"id":"v9yUtUwSrOCYedr2TAlV","title":"Trade Stock Perpetuals On-Chain: A Complete Guide (2026) ","pathname":"/how-to-guides/trade-stock-perpetuals-on-chain","siteSpaceId":"sitesp_BbJ2j","description":"Learn how to trade stock perpetuals on-chain. Explore equity perpetual futures, USDC collateral, long and short positions, funding rates, leverage, and liquidation risk.","breadcrumbs":[{"label":"AFX Docs"},{"label":"How-To Guides"}]},{"id":"8c5DLqgeercCxWJBxPOy","title":"How to Trade Perpetuals On-Chain: A Step-by-Step Guide","pathname":"/how-to-guides/how-to-trade-perpetuals-on-chain-a-step-by-step-guide","siteSpaceId":"sitesp_BbJ2j","description":"Learn how to trade perpetual futures on-chain in four steps: connect a self-custody wallet, deposit USDC, choose a market, and open a leveraged position. No account required.","breadcrumbs":[{"label":"AFX Docs"},{"label":"How-To Guides"}]},{"id":"oZAwdrRdskaN6wrvTcmA","title":"How to Trade BTC On-Chain: A Step-by-Step Guide for AFX","pathname":"/how-to-guides/how-to-trade-btc-on-chain","siteSpaceId":"sitesp_BbJ2j","description":"Learn how to trade Bitcoin on-chain in 8 steps: deposit USDC on Arbitrum, open a BTC-PERP position on AFX, and withdraw anytime. No CEX, no BTC custody.","breadcrumbs":[{"label":"AFX Docs"},{"label":"How-To Guides"}]},{"id":"ZaBAF857Nuf6tPftQfqX","title":"Bitcoin vs Gold: Which Is the Better Inflation Hedge?","pathname":"/markets-assets/bitcoin-vs-gold-which-is-the-better-inflation-hedge","siteSpaceId":"sitesp_BbJ2j","description":"Gold hit an all-time high in early 2026 while Bitcoin pulled back from its peak. We break down how each asset behaves as an inflation hedge — and how to trade both on-chain.","breadcrumbs":[{"label":"AFX Docs"},{"label":"Markets & Assets"}]},{"id":"DhE7t6vkZJTgvDldc8f3","title":"SpaceX Perpetuals on AFX (SPCX): Trade SpaceX On-Chain Without Owning Private Shares","pathname":"/markets-assets/spacex-perpetuals-spcx","siteSpaceId":"sitesp_BbJ2j","description":"SPCX-PERP on AFX tracks SpaceX's private market valuation. Trade SpaceX exposure on-chain with USDC margin — no accredited investor status, no brokerage required.","breadcrumbs":[{"label":"AFX Docs"},{"label":"Markets & Assets"}]},{"id":"TVCekUwNW88D6bPQbqMQ","title":"Crude Oil Perpetuals (CL-PERP) on AFX: Trade WTI On-Chain 24/7","pathname":"/markets-assets/crude-oil-perpetuals-cl","siteSpaceId":"sitesp_BbJ2j","description":"CL-PERP lets you trade WTI crude oil on-chain with USDC margin, no expiry, and 24/7 access. Learn how crude oil perpetuals work and how to trade them on AFX.","breadcrumbs":[{"label":"AFX Docs"},{"label":"Markets & Assets"}]},{"id":"tgnG7QuD1X7BWZWE1bfm","title":"What Is an Inflation Hedge? Definition & Examples (2026)","pathname":"/glossary/inflation-hedge","siteSpaceId":"sitesp_BbJ2j","description":"An inflation hedge is an asset that preserves purchasing power when prices rise. Learn how gold and Bitcoin work as inflation hedges and how to trade both on AFX.","breadcrumbs":[{"label":"AFX Docs"},{"label":"Glossary"}]},{"id":"kw4vZk2RSesHYaximYqz","title":"What Is Oracle Price in Crypto? Definition & How It Works","pathname":"/glossary/oracle-price","siteSpaceId":"sitesp_BbJ2j","description":"Oracle price is the external reference price fed into a perpetual DEX to anchor contracts to real-world asset values. Learn how it works on AFX for BTC, gold, oil, and SpaceX.","breadcrumbs":[{"label":"AFX Docs"},{"label":"Glossary"}]},{"id":"X4t84BIKRQ7mxObNYGa2","title":"What Is a Perpetual Contract? Definition & How It Works (2026)","pathname":"/glossary/perpetual-contract","siteSpaceId":"sitesp_BbJ2j","description":"A perpetual contract is a derivative that tracks an asset's price with no expiry date. Learn how perpetual futures work, funding rates, and how to trade them on AFX.","breadcrumbs":[{"label":"AFX Docs"},{"label":"Glossary"}]},{"id":"3m6Txvrlfu9yOkEr7dco","title":"API Reference","pathname":"/api-reference","siteSpaceId":"sitesp_envpK","icon":"brackets-curly","description":"Programmatic interface for perpetual contract trading on the AFX DEX.","breadcrumbs":[{"label":"API Reference"}]},{"id":"WCgkp1vggPjuI3svW0zW","title":"Quick Start","pathname":"/api-reference/quickstart","siteSpaceId":"sitesp_envpK","icon":"rocket","description":"Place your first trade on AFX DEX in 5 minutes.","breadcrumbs":[{"label":"API Reference"}]},{"id":"BuhOTIH4l63pXQfDPXCo","title":"Exchange API","pathname":"/api-reference/exchange","siteSpaceId":"sitesp_envpK","icon":"arrow-right-arrow-left","description":"Trading operations — place, replace, bracket, and cancel orders; set leverage; manage vaults.","breadcrumbs":[{"label":"API Reference"}]},{"id":"53a240fd2ad046388e1700168b479e12b42233d1","title":"Builder Code","pathname":"/api-reference/exchange/builder-code","siteSpaceId":"sitesp_envpK","description":"","breadcrumbs":[{"label":"API Reference"},{"label":"Exchange API","icon":"arrow-right-arrow-left"}]},{"id":"842ef394a433a1d93c3d352693318636bcf0fca1","title":"Models","pathname":"/api-reference/exchange/models","siteSpaceId":"sitesp_envpK","breadcrumbs":[{"label":"API Reference"},{"label":"Exchange API","icon":"arrow-right-arrow-left"}]},{"id":"uz7Xewliilx3mtOBwGXU","title":"Info API","pathname":"/api-reference/info","siteSpaceId":"sitesp_envpK","icon":"magnifying-glass","description":"Query account, orders, positions, trades, kline, funding rate, and more.","breadcrumbs":[{"label":"API Reference"}]},{"id":"e85c7a4b6c9364d002df289eab4a8a001498d427","title":"Account","pathname":"/api-reference/info/account","siteSpaceId":"sitesp_envpK","description":"","breadcrumbs":[{"label":"API Reference"},{"label":"Info API","icon":"magnifying-glass"}]},{"id":"e48cb90fb9477cb6ff56f914d8e5ac7b411b9547","title":"Orders","pathname":"/api-reference/info/orders","siteSpaceId":"sitesp_envpK","description":"","breadcrumbs":[{"label":"API Reference"},{"label":"Info API","icon":"magnifying-glass"}]},{"id":"33cf630d94ae951a58853b01534781524aae4953","title":"Positions","pathname":"/api-reference/info/positions","siteSpaceId":"sitesp_envpK","description":"","breadcrumbs":[{"label":"API Reference"},{"label":"Info API","icon":"magnifying-glass"}]},{"id":"b9096eed627a7328596396980afb8cf1502de50b","title":"Trades","pathname":"/api-reference/info/trades","siteSpaceId":"sitesp_envpK","description":"","breadcrumbs":[{"label":"API Reference"},{"label":"Info API","icon":"magnifying-glass"}]},{"id":"528be0505a4825d4b42925116d563d38f451dd11","title":"Products","pathname":"/api-reference/info/products","siteSpaceId":"sitesp_envpK","description":"","breadcrumbs":[{"label":"API Reference"},{"label":"Info API","icon":"magnifying-glass"}]},{"id":"201b1aaac7fdaf80940ec4a34fc6226c3fc05c6a","title":"Kline","pathname":"/api-reference/info/kline","siteSpaceId":"sitesp_envpK","description":"","breadcrumbs":[{"label":"API Reference"},{"label":"Info API","icon":"magnifying-glass"}]},{"id":"0380ac8001c66ef667974fdc129d9646a37d4169","title":"Funding Rate","pathname":"/api-reference/info/funding-rate","siteSpaceId":"sitesp_envpK","description":"","breadcrumbs":[{"label":"API Reference"},{"label":"Info API","icon":"magnifying-glass"}]},{"id":"0d88537dc26c228a43a57dd53e585908b001c824","title":"Vault","pathname":"/api-reference/info/vault","siteSpaceId":"sitesp_envpK","description":"","breadcrumbs":[{"label":"API Reference"},{"label":"Info API","icon":"magnifying-glass"}]},{"id":"268547e5d9c3ff3b818c186bf975494f3ef68494","title":"Referral","pathname":"/api-reference/info/referral","siteSpaceId":"sitesp_envpK","description":"","breadcrumbs":[{"label":"API Reference"},{"label":"Info API","icon":"magnifying-glass"}]},{"id":"6501e9b5485d78899037f11e91450f60cc0efe8f","title":"Explorer","pathname":"/api-reference/info/explorer","siteSpaceId":"sitesp_envpK","description":"","breadcrumbs":[{"label":"API Reference"},{"label":"Info API","icon":"magnifying-glass"}]},{"id":"1a8bfc5650262b9aab805ff6278bc0f66342a7d5","title":"Models","pathname":"/api-reference/info/models","siteSpaceId":"sitesp_envpK","breadcrumbs":[{"label":"API Reference"},{"label":"Info API","icon":"magnifying-glass"}]},{"id":"4YkYRib0XiUqm9hKouPx","title":"WebSocket","pathname":"/api-reference/websocket","siteSpaceId":"sitesp_envpK","icon":"bolt","description":"Real-time market data and account updates via WebSocket.","breadcrumbs":[{"label":"API Reference"}]},{"id":"5054f1d0b6a9fc69f89b2df9f0166bda707c1877","title":"Connection","pathname":"/api-reference/websocket/connection","siteSpaceId":"sitesp_envpK","description":"","breadcrumbs":[{"label":"API Reference"},{"label":"WebSocket","icon":"bolt"}]},{"id":"eb7b640e3c9e06f0d9a08bf738059c5619f3f1b3","title":"Market Data","pathname":"/api-reference/websocket/market-data","siteSpaceId":"sitesp_envpK","description":"","breadcrumbs":[{"label":"API Reference"},{"label":"WebSocket","icon":"bolt"}]},{"id":"3c3a6d570b2fd5ad0e13c80e6abdc5d0f4cf12cb","title":"Explorer","pathname":"/api-reference/websocket/explorer","siteSpaceId":"sitesp_envpK","description":"","breadcrumbs":[{"label":"API Reference"},{"label":"WebSocket","icon":"bolt"}]},{"id":"a65f3dcbef872ea4a546c2963e1ef7472d6d5e34","title":"User Data","pathname":"/api-reference/websocket/user-data","siteSpaceId":"sitesp_envpK","description":"","breadcrumbs":[{"label":"API Reference"},{"label":"WebSocket","icon":"bolt"}]},{"id":"a19a96b1b7d767cfb91793d77d4f0d48bcd0436c","title":"Models","pathname":"/api-reference/websocket/models","siteSpaceId":"sitesp_envpK","breadcrumbs":[{"label":"API Reference"},{"label":"WebSocket","icon":"bolt"}]},{"id":"KD5aN27W1BtKrOW0eFnL","title":"Signing","pathname":"/api-reference/signing","siteSpaceId":"sitesp_envpK","icon":"key","description":"EIP-712 structured signing for Agent and Master wallet operations.","breadcrumbs":[{"label":"API Reference"}]},{"id":"eeUDv4J6Rka3dTIy9j7n","title":"Agent Safety","pathname":"/api-reference/agent-safety","siteSpaceId":"sitesp_envpK","icon":"shield-check","description":"Operational safety guidance for Master wallets, Agent wallets, and automated trading systems.","breadcrumbs":[{"label":"API Reference"}]},{"id":"gm6l21G4eyGNjnvGjc11","title":"Python SDK","pathname":"/api-reference/sdk","siteSpaceId":"sitesp_envpK","icon":"download","description":"Install the official AFX Python SDK and run examples.","breadcrumbs":[{"label":"API Reference"}]},{"id":"fnQ7x1e1OnK1nzO0UXZE","title":"Agent Artifacts","pathname":"/api-reference/agent-artifacts","siteSpaceId":"sitesp_envpK","icon":"robot","description":"Machine-readable files and AI-agent entry points for AFX DEX.","breadcrumbs":[{"label":"API Reference"}]},{"id":"sDtDqAAeFtP9uGfIo7C7","title":"System Updates","pathname":"/announcements","siteSpaceId":"sitesp_bFCNs","breadcrumbs":[{"label":"Announcements"}]},{"id":"IL6y9R2NR636iaDA154n","title":"Listings","pathname":"/announcements/listings","siteSpaceId":"sitesp_bFCNs","breadcrumbs":[{"label":"Announcements"}]},{"id":"YC0aKvfMKoAtc43v0vX3","title":"AFX New Futures Listing - BTCUSDC","pathname":"/announcements/listings/afx-new-futures-listing-btcusdc","siteSpaceId":"sitesp_bFCNs","breadcrumbs":[{"label":"Announcements"},{"label":"Listings"}]},{"id":"l6JAiuyMUPD9pF3oSapU","title":"AFX New Futures Listing - ETHUSDC","pathname":"/announcements/listings/afx-new-futures-listing-ethusdc","siteSpaceId":"sitesp_bFCNs","breadcrumbs":[{"label":"Announcements"},{"label":"Listings"}]},{"id":"lVRnMZOxaz0jVsznrTdK","title":"Delistings","pathname":"/announcements/delistings","siteSpaceId":"sitesp_bFCNs","breadcrumbs":[{"label":"Announcements"}]},{"id":"8o7QY4AEfFqyRZVm7QTz","title":"AFX Futures Delisting - KORUUSDC","pathname":"/announcements/delistings/afx-futures-delisting-koruusdc","siteSpaceId":"sitesp_bFCNs","breadcrumbs":[{"label":"Announcements"},{"label":"Delistings"}]},{"id":"njH9eu74kH4nq2PaW1uB","title":"Help Center","pathname":"/support","siteSpaceId":"sitesp_V91tN","breadcrumbs":[{"label":"Support"}]}]}