Understanding Withdrawals on Endur: A Guide for Starknet Users

web3Gurungweb3Gurung
3 min read

Endur is a dedicated liquid staking platform for Starknet's STRK token, offering the xSTRK token, which is a liquid staking token (LST) designed to deliver a seamless and efficient user experience for traders and holders. We understand that accessing your staked assets quickly is crucial. This post explains the 2 methods Endur uses to process withdrawals, ensuring you have a clear understanding of the process.

Overview of Withdrawal Process:

When you initiate an unstake request (xSTRK to STRK), Endur's system can process it with 2 cases. These cases are designed to handle different withdrawal sizes and the availability of STRK in the system, optimizing for both speed and reliability. We’ve added GIFs so you can understand the flow!

Case 1: Leveraging Deposit contract (the best case)

TLDR: Instantly match new staking deposits to fulfill withdrawals, as it is highly efficient.

WIthdrawal Request Completion: 1-2 days OR a couple of hours.

  • Your unstake request is processed (xSTRK → STRK).

  • The system checks for pending withdrawals to batch process and examines the queue contract.

  • When someone deposits STRK to convert to xSTRK, it is deposited into the deposit contract.

  • The system verifies that there are sufficient deposits to cover your withdrawal, after which you receive your STRK back.

  • Any extra STRK from the deposit contract is then staked.

💡
This process relies on new deposits that haven't been staked yet. When deposit activity is high, withdrawal requests can be fulfilled in 1-2 days, or sometimes even within a few hours. Check out the average waiting time in this dune dashboard!

Flowchart illustrating a process for handling STRK withdrawals. It involves decision points like checking for pending withdrawals, STRK balance in queue and deposit contracts, and actions like processing claims, waiting, unstaking, and staking excess STRK.


Case 2: Native Unstaking (Large Withdrawals)

TLDR: For larger withdrawals, typically exceeding 100k xSTRK, or when deposit contract lack sufficient STRK balance, Endur utilizes native unstaking.

WIthdrawal Request Completion: ~21 days.

  • You start an unstake request, which begins a 24-hour countdown.

  • During this time, the system looks for new STRK deposits to fulfill the withdrawal.

  • If there aren't enough deposits within the 24 hours, the system starts native unstaking of the needed STRK.

  • Native unstaking on the Starknet mainnet takes 21 days.

  • After 21 days, the STRK tokens go into your wallet.

💡
Note: Another scenario within this case exists - if new deposits arrive within 21 days and are sufficient to cover your withdrawal, the backend will immediately process the queue. It'll also revoke the previous unstake request.

Flowchart illustrating the process of handling STRK withdrawals. It outlines steps including checking for pending withdrawals, verifying STKR balance in queue and deposit contracts, processing claims, and deciding to unstake, wait, or stake excess STRK.

Endur makes the standard native unstaking process easier by letting you complete it with a single click and receive STRK in your wallet (after 21 days). In native staking, this process involved two steps: unstaking and withdrawing funds.

Conclusion:

Endur is committed to providing a seamless and reliable staking experience for Starknet users. Our withdrawal process is designed to manage different situations, and we aim to provide clarity and efficiency, allowing you to stake with confidence. Click the below link to liquid stake with us!

0
Subscribe to my newsletter

Read articles from web3Gurung directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

web3Gurung
web3Gurung

a community x tech person. learning to code and share my progress.