> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qu.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# TransactionReplacedError

A pending transaction was replaced by another.

## Extends

* [`quaisError`](https://docs.qu.ai/sdk/content/interfaces/quaisError)\<`"TRANSACTION_REPLACED"`>

## Properties

| Property | Type | Description | Inherited from |
| :- | :- | :- | :- |
| `cancelled` | `boolean` | If the transaction was cancelled, such that the original effects of the transaction cannot be assured. | - |
| `code` | [`ErrorCode`](https://docs.qu.ai/sdk/content/type-aliases/ErrorCode) | The string error code. | [`quaisError`](https://docs.qu.ai/sdk/content/interfaces/quaisError).`code` |
| `error?` | `Error` | Any related error. | [`quaisError`](https://docs.qu.ai/sdk/content/interfaces/quaisError).`error` |
| `hash` | `string` | The hash of the replaced transaction. | - |
| `info?` | `Record`\<`string`, `any`> | Additional info regarding the error that may be useful. This is generally helpful mostly for human-based debugging. | [`quaisError`](https://docs.qu.ai/sdk/content/interfaces/quaisError).`info` |
| `reason` | `"cancelled"` \| `"replaced"` \| `"repriced"` | The reason the transaction was replaced. | - |
| `receipt` | [`TransactionReceipt`](https://docs.qu.ai/sdk/content/classes/TransactionReceipt) | The receipt of the transaction that replace the transaction. | - |
| `replacement` | [`TransactionResponse`](https://docs.qu.ai/sdk/content/type-aliases/TransactionResponse) \| `ExternalTransactionResponse` | The transaction that replaced the transaction. | - |
| `shortMessage` | `string` | A short message describing the error, with minimal additional details. | [`quaisError`](https://docs.qu.ai/sdk/content/interfaces/quaisError).`shortMessage` |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.