Variational Docs
HomeDiscordTwitterBlog
  • Getting Started
    • About Variational
    • Core Contributors
    • Key Concepts
      • P2P Trading Protocol vs DEX
      • Trading via RFQ
      • Settlement Pools
      • Margin
      • Slippage
      • Leverage
      • Liquidation
      • Mark, Index, and Quoted Prices
      • Open Interest & Funding Rates
      • Fully Diluted Valuation (FDV)
      • Fees
      • Market vs. Limit Orders
      • Take Profit & Stop Loss
    • Roadmap
    • $VAR Token
    • Official Links
    • Media Kit
    • FAQ
    • Getting Help (Support)
    • Additional Resources
  • Variational Omni
    • About Omni
      • The Omni Liquidity Provider (OLP)
      • Risk Limits
      • Listings
    • Getting Started with Omni
  • Automatic Deleveraging | Counterparty Liquidation
  • Variational Pro
    • About Pro
  • Technical Documentation
    • Technical Overview
      • Authentication
      • Deposits
      • Withdrawals
      • Trades
    • Derivative Specifications
      • Perpetual Futures
      • Settlement
    • API
      • SDKs
      • Quickstart and Tutorials
        • API Trading Prerequisites and Setup
        • Settlement Pool Deposit Tutorial
        • Taker (RFQ Submitter) Tutorial
        • Maker (RFQ Responder) Tutorial
      • Endpoints
      • Data Models
      • Headers
      • Pagination
      • Rate Limits
      • Authentication
    • Contracts and ABIs
    • Security and Audits
    • Partners
  • Legal
    • Terms of Service
    • Privacy Policy
    • Restricted Persons
Powered by GitBook
On this page
  1. Technical Documentation
  2. Technical Overview

Withdrawals

PreviousDepositsNextTrades

Last updated 4 months ago

Just like deposits, Omni covers any gas fees associated with withdrawals, instead charging a flat $0.1 fee per withdraw. Withdrawals are processed in a largely similar manner to deposits, through the .

Withdrawal Flow

The flow of withdrawals is as follows:

  1. User determines how many tokens they want to withdraw by interacting with the Omni frontend.

  2. That information, along with the user's , is passed to the , which verifies the user's requested withdraw is less than their unused collateral.

  3. After the and withdraw size is verified as legitimate, the passes this information to the , and debits the user's account on the .

  4. The within the submits a transaction to remove funds from the user's and return them to the user's wallet.

  5. The within the waits for transaction confirmation. If the transaction fails for any reason, the will interface with the to credit funds back to the user's trading balance (minus $0.1 fee).

authentication token
authentication token
settlement pool
on-chain transaction handler
Omni backend
Omni backend
on-chain transaction handler
Omni frontend
transactor
on-chain transaction handler
watcher
on-chain transaction handler
watcher
Omni backend