> For the complete documentation index, see [llms.txt](https://doc.lockerprotocol.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.lockerprotocol.com/browser-extension/speed-up-or-cancel.md).

# Speed up or cancel a transaction

Replace a stuck transaction with a faster one, or cancel it.

On Ethereum-style networks, a transaction waiting too long can be *replaced* by another one with the same nonce and a higher fee. That is how you speed up, or cancel.

{% stepper %}
{% step %}

### Speed up

In **Activity**, open the pending transaction → **Speed up**. The wallet builds the same transaction with a higher fee (**Replaces** the old one). Sign it on the Vault like any other.

<figure><img src="https://3674012151-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT2jyfPJ4rcVavAvTU9nL%2Fuploads%2Fgit-blob-cbf27de4a2977d0f5bd5a0df1910f26844465a0b%2F01-speed-up.png?alt=media" alt="speed up"><figcaption><p>A pending transaction, with Speed up and Cancel.</p></figcaption></figure>
{% endstep %}

{% step %}

### Cancel

**Cancel** sends a zero-value transaction to yourself with the same nonce. *How it works*: if it gets mined first, the original never will. The Vault shows it as **Cancel transaction**.

<figure><img src="https://3674012151-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT2jyfPJ4rcVavAvTU9nL%2Fuploads%2Fgit-blob-5bb616554519dbde13ee8501e7dc88091e8c0031%2F02-cancel.png?alt=media" alt="cancel"><figcaption><p>The cancel transaction, ready for the Vault.</p></figcaption></figure>
{% endstep %}

{% step %}

### Replaced

Whichever wins, the other shows as **Replaced** in Activity.

<figure><img src="https://3674012151-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT2jyfPJ4rcVavAvTU9nL%2Fuploads%2Fgit-blob-03dfaa33085ddb6f0ecfd464dc6f61a1c386861c%2F03-replaced.png?alt=media" alt="replaced"><figcaption><p>Once mined, the winning transaction shows Confirmed; the one it replaced shows Replaced.</p></figcaption></figure>
{% endstep %}
{% endstepper %}

{% hint style="warning" %}
A cancel is a race. If the original is mined before the cancel, it goes through. Act early.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://doc.lockerprotocol.com/browser-extension/speed-up-or-cancel.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
