# No gas for a transaction that would revert.

> MEV Protect can keep a transaction that would revert out of the block. Your user pays no gas for it. You turn it on per API key.

## What it does

- **Not in a block, no fee** (Gas): A transaction that would revert is not included, so your user pays no gas for it.
- **Off until you turn it on** (Opt in): Turn it on per API key in the dashboard. It applies from the next transaction sent with that key.
- **On the chains listed below** (Chains): On a chain without it, a transaction that reverts is included as usual, and its status is reverted.

## Chains

| Chain | Id | Service | Products | Status |
| --- | --- | --- | --- | --- |
| [BSC](https://www.mevlabs.xyz/chains/bsc.md) | `bsc` | MEV Protect, Revert protection | RPC, API | In development |

## How to turn it on

1. **Create a key**: In the dashboard, open API keys and create one. Name it after where it will run. The key is shown in full once, so store it when it appears.
2. **Turn on revert protection**: Open the key's page in the dashboard and turn on revert protection. You are asked to confirm before it changes.
3. **Send as before**: Send through the RPC or the API, as before. Nothing in the request changes.
4. **Check it**: A transaction it kept out shows as Dropped under Transactions, and a transaction.dropped event is posted to your webhooks.

## For your users

### A swap that would fail costs nothing.

Your users sign and send as before. When a transaction would revert, it stays out of the block instead of failing on-chain.

- No gas is paid for a transaction that is kept out.
- It is never sent to the public mempool.
- Every other transaction is protected and rebated as before.

## Questions

### Is it on by default?

No. It is off until you turn it on for a key in the dashboard. Each key has its own setting.

### Do we have to change how we send transactions?

No. Turn it on for the key in the dashboard and send through the RPC or the API as before. Nothing in the request changes.

### What happens to a transaction it keeps out?

It is not included in a block and it is not sent to the public mempool. Its status is dropped. Your user can send it again, or send a new transaction with the same nonce.

### Which chains have it?

The chains listed on this page. It depends on how blocks are made on each chain. On a chain without it, a transaction that reverts is included as usual.

## Turn on revert protection.

MEV Protect is in development and there is no launch date yet. Partner applications open at launch.

- [Integrate MEV Protect](https://www.mevlabs.xyz/apply.md)
- [Documentation](https://www.mevlabs.xyz/docs/api-keys.md)

---

Page: https://www.mevlabs.xyz/products/revert-protection · [All pages](https://www.mevlabs.xyz/llms.txt)
