# My transaction is pending / not going through - what should I do?

The speed at which a transaction will be executed (or mined) depends on the gas price you configure at the moment when you submit your transaction.

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

In case you submit a transaction with a lower gas price than what is currently recommended, your transaction could get stuck for potentially hours or even days.

Thankfully, the option to configure your gas price is present in the DeFi Saver interface for each transaction you want to make, together with the option to select the currently fast gas price (which is always recommended).

<figure><img src="/files/9IAzrjmfG6YLKTy4sBSR" alt=""><figcaption></figcaption></figure>

## What should you do if your transaction has been stuck (pending) for long?

Depending on the type of the transaction, we either recommend speeding up your transaction (by re-sending it with a higher gas price) or cancelling it.

Speeding up is recommended for any standard interactions available at DeFi Saver, such as adding collateral to your portfolio or withdrawing assets.

> However, in case your transaction was supposed to include a token swap (e.g. a Boost or a Repay transaction) then we recommend cancelling it and then later creating a new transaction using fast gas.

This is because a transaction that's meant to execute a token swap using a decentralized exchange is more and more likely to fail as time goes by, as the conditions on the exchanges are constantly changing.

For ways to cancel or speed up your transaction, please refer to these guides:

* [How to speed up or cancel a pending transaction - MetaMask Support](https://metamask.zendesk.com/hc/en-us/articles/360015489251-How-to-Speed-Up-or-Cancel-a-Pending-Transaction)
* [Transaction stuck in pending - Ledger Support](https://support.ledger.com/hc/en-us/articles/360020854714-Transaction-stuck-in-pending-)
* [How to “Cancel” Ethereum pending transactions? - Etherscan Information Center](https://info.etherscan.com/how-to-cancel-ethereum-pending-transactions/#replacing-cancel-pending-transactions)


---

# 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://help.defisaver.com/general/troubleshooting/my-transaction-is-pending-not-going-through-what-should-i-do.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.
