Variational Docs
HomeDiscordTwitterBlog
  • Variational Protocol
    • About Variational
    • Peer-to-peer vs DEX
    • Roadmap
    • Key Concepts
      • Trading via RFQ
      • Settlement Pools
      • Margin
      • Slippage
      • Leverage
      • Liquidation
      • Mark price vs index price vs quote price
      • Open Interest & Funding Rates
      • Fully Diluted Valuation (FDV)
      • Fees
      • Market vs. Limit Orders
      • Take Profit & Stop Loss
    • $VAR Token
    • Media Kit
    • Official Links
    • FAQ
    • Getting Help (Support)
  • Variational Omni
    • About Omni
    • Getting Started with Omni
    • Getting Started With Omni (Testnet)
    • Omni Liquidity Provider (OLP)
    • Listings
    • Risk Limits
  • 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
  • ARCHIVE
    • Testnet Trading Competition #1 Leaderboard
    • Testnet Trading Competition #2 Leaderboard
    • Testnet Trading Competition #3 Leaderboard
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