All Collections
v3
Perpetuals
Accounts & Wallets
How do deposits and withdrawals work?
How do deposits and withdrawals work?

Depositing to, and withdrawing from Layer 2

D
Written by David Gogel
Updated this week

Deposits

Users can deposit funds to their account by sending a Layer 1 Ethereum transaction through their wallet through the website. Users can deposit either USDC, or an array of other assets, which are then converted to USDC via 0x API's on-chain liquidity. After the deposit transaction is mined, 14 Ethereum network confirmations (usually about 3 minutes) are required for your funds to be available to trade.

Withdrawals

There are two types of withdrawals: Fast Withdrawals and Slow Withdrawals:

Fast Withdrawals

Fast withdrawals utilize a withdrawal liquidity provider to send funds immediately and do not require users to wait for a Layer 2 block to be mined. Users do not need to send any Transactions to perform a fast withdrawal. Behind the scenes, the withdrawal liquidity provider will immediately send a transaction to Ethereum which, once mined, will send the user their funds. Users must pay a gas fee to the liquidity provider for fast withdrawals equal to the gas fee that the provider must pay.

Slow Withdrawals

Slow withdrawals do not use a liquidity provider to speed the withdrawal process, and so must wait for a Layer 2 block to be mined before they are processed. Layer 2 blocks are mined roughly once every 10 hours, though this could be more or less frequent (up to 20 hours) based on network conditions. Slow withdrawals occur in two steps: first the user requests a slow withdrawal, then once the next Layer 2 block is mined the user must send a Layer 1 Ethereum transaction to claim their funds.

You can read more about our authors here.

Did this answer your question?