Skip to main content
Version: Devnet - Playground

Withdraw

Users withdraw from RollApps by utilizing Dymension's validation processes. Utilizing the eIBC transferring protocol, built on top of IBC, enables users to withdraw from RollApps without waiting for the completion of dispute periods.

Users submit withdrawal requests from RollApps for a priority tip (i.e. fee) that is denominated in the amount of tokens they are willing to pay. eIBC fulfillers submit fulfillment orders and receive the total amount with the tip at the end of the dispute period.

withdraw-overview

Withdrawal priority tips

Users submit withdrawal requests by inputting the destination address, token denomination, amounts they would like to withdraw to Dymension and the priority tip they are willing to pay.

The destination address (e.g. user@dym) may increase the priority tip (i.e. fee) they are willing to pay. This is useful when there is a lot of demand for withdrawals or when the market rate for processing withdrawals increases.

Relayers

Relayers listen for specific events or transactions on each blockchain (e.g. RollApps and Dymension) that indicate a request to send tokens to another blockchain. Once a relevant event is detected on one blockchain, the relayer packages the information into a message and submits it to the other blockchain.

Relayers do not charge users a fee for passing the messages between blockchains. Generally, a relayer is operated by RollApp sequencers and Dymension validators.

Light client security

The security of RollApp transfers is independent of the honesty of relayers. Dymension uses IBC light clients to efficiently verify the state of RollApps. A light client is a simplified version of a blockchain client that can validate the state without needing to run a full node. This allows Dymension to confirm that a RollApp token has been either burned or locked on the RollApp.

RollApp light clients are updated after a dispute period, which is a predefined number of blocks in Dymension's protocol. However, to enable immediate user withdrawals, eIBC allows anyone to fulfill withdrawal requests in exchange for a priority tip.