# opBNB

*opBNB* is an optimized layer-2 solution within the *BNB* ecosystem. BNB has introduced the support of bridging assets between BNB and opBNB ( L1 ↔️ L2 ).

In contrast, DerpDEX supports BNB and opBNB ( L1 ↔️ L2 ) bridge. See more below.

BNB native token such as BNB or any BEP20 can be bridged from or to opBNB (L2) . User can perform the following:

* BNB to opBNB ( L1 → L2 ) - (Deposit)
* opBNB to BNB ( L2 → L1 ) - (Withdraw)

{% embed url="<https://app.derpdex.com/#/bridge>" %}

<figure><img src="/files/ASUaGkFhceMpepH1CdAU" alt=""><figcaption><p>Navigate to Bridge</p></figcaption></figure>

<figure><img src="/files/jZyLZTQ31Dua4AAqPaGg" alt=""><figcaption><p>Connect Wallet</p></figcaption></figure>

## **Deposit ( BNB** → **opBNB )**&#x20;

1. To Deposit, head over to the Bridge and select deposit. Make sure to switch to BNB Smart Chain mainnet. You may select a token and input the amount to deposit to opBNB.

   <figure><img src="/files/LE2Uos63UHOmo9MbZSeZ" alt=""><figcaption></figcaption></figure>

   * \[Note: Depositing an asset from BNB to opBNB may take up to 5 minutes]
2. To proceed with an amount specified, click on Deposit to engage with the transaction in your wallet and confirm transaction.

   <figure><img src="/files/5etjuxOMg9Wq2rWOYdSt" alt=""><figcaption></figcaption></figure>
3. The transaction will get confirmed in about 5 minutes and the token will be received on opBNB chain.
4. You may view the transaction of bridged token result as below:

   <figure><img src="/files/RKXDYXQRASYDyQEFDX2w" alt=""><figcaption></figcaption></figure>

## **Withdraw ( opBNB** → **BNB )**

1. To Withdraw, head over to the Bridge and select Withdraw. Make sure to switch to opBNB mainnet and input the amount to withdraw.

   <figure><img src="/files/YRVgHxDTwuS5Yh6wqPxV" alt=""><figcaption><p>Withdraw</p></figcaption></figure>
2. Click on Withdraw and then confirm the transaction on the wallet.

   <figure><img src="/files/LKL4iJ0gmCOn7MJks2KJ" alt=""><figcaption></figcaption></figure>
3. Note that opBNB requires up to 7 days of withdrawal to BNB (L1).&#x20;
   * Consider the status of the withdrawal process:
     * Pending: The state of withdrawal is still in challenge period
     * Prove: The withdrawal is ready to be proved on L1 (BNB)
     * Finalize: The withdrawal is ready to be finalized and to receive the token
4. Example of Prove and Finalized Withdrawal will be listed at the bottom of the panel:

   * **Prove Withdrawal**

     <figure><img src="/files/wMMxNh8yQtxpYOv9FWGR" alt=""><figcaption><p>Prove Withdrawal</p></figcaption></figure>

     User required to prove the withdrawal before proceed to finalize the transfer of withdrawal process.
   * **Finalize WIthdrawal** (After Withdrawal Proven)

     <figure><img src="/files/7PabZEFIPw8b3RTXrkiv" alt=""><figcaption><p>Finalize Withdrawal</p></figcaption></figure>

     Upon confirming the finalize withdrawal, the token will be transferred to the respective recipient.

   Read: More about [Optimism Rollup](https://blog.oplabs.co/two-step-withdrawals/) on Bridge


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://derpdex.gitbook.io/home/getting-started/bridge/opbnb.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
