Drift Protocol v2Contributing to Drift ProtocolContributing to Drift ProtocolContact ↗Contact ↗ (opens in a new tab)
GitHubGitHub (opens in a new tab)DiscordDiscord (opens in a new tab)
  • 👾 Welcome to Drift Protocol
    • Understanding Drift Protocol
    • Drift AMM
    • Decentralized Orderbook
    • Keepers
    • Keepers & Decentralized Orderbook FAQ
    • Keeper Incentives
    • Matching Engine
    • Just-in-Time (JIT) Auctions FAQ
    • Revenue Pool
    • Optimizations
    • Program/Vault Addresses
      • Phantom
      • MetaMask
      • Bot Wallet
      • Wallet FAQ
    • Passwordless and Social Login
    • Cross-collateral deposits
    • Managing Subaccount
    • Delegated Accounts
    • Versioned Transactions
    • Withdraw and Close Account
    • Market Specs
    • Prelaunch Markets
    • Perpetuals Trading
    • What are Perpetual Futures?
    • Funding Rates
    • What is Spot Margin Trading?
    • Spot FAQ
    • Margin
    • Order Types
    • All Order Types
    • Advanced Orders FAQ
    • Health Breakdown
    • Auction Parameters
    • Trading Fees
    • Other Trading Fees
    • Fee Pool
    • Versioned Transactions
    • Block Conditions
    • Oracles
    • Introduction to Profit & Loss
    • Accounting and Settlement
    • What is unsettled P&L?
    • P&L Pool
    • What is Liquidation?
    • Liquidators
    • What is lending and borrowing?
    • Supply & Borrow APY
    • Borrow Interest Rate
    • Lend & Borrow FAQ
    • Isolated Pools
    • How it Works
    • Opening a Position
    • Monitoring a Position
    • Closing a Position
    • Risk
    • Market Maker Participation
    • Maker Rebate Fees
    • Introduction to Insurance Fund
    • Insurance Fund Staking
    • Backstop AMM Liquidity (BAL)
    • Backstop AMM Liquidity (BAL) Technical Explainer
    • Liquidity Provider FAQ
  • 🪀 API
  • 📕 SDK Documentation
  • 🤖 Tutorial Bots
    • Keeper Bots
      • Tutorial: Order Matching Bot
      • Tutorial: Order Trigger Bot
      • Tutorial: Order Liquidation Bot
      • Tutorial: JIT Maker Bot
    • RPC Providers
    • Troubleshooting
    • Historical Data v1
    • Historical Data v2
    • Historical Data Glossary
  • 💌 Referral Link
    • Overview
    • Introduction to Prediction Markets
    • Delisting Process
    • Protocol Guard Rails
    • Risk Parameters
    • Audits
    • Bug Bounty
    • Risks
  • 🔤 Glossary
  • Additional Resources and Data
  • LEGAL
    • Terms of Use
    • Disclaimer
    • Privacy Policy
    • Competition Terms
Question? Give us feedback → (opens in a new tab)Edit this page
🪀 API

API

v2-teacher docs (opens in a new tab)

Liquidity Provider FAQ📕 SDK Documentation

© 2025 Drift Protocol