SealedOptionalreplacementTxHash: `0x${string}`Optionalcause: ErrorOptional ReadonlycauseReadonlychainDestination chain the transaction was sent to.
Optional ReadonlydataOptional structured data attached to the failure (e.g. on-chain receipt).
ReadonlyfailureThe code recorded as the transaction's TransactionFailureReason
when this error fails a transaction. Set by the subclasses that have one;
any other failure is recorded as unknown.
Optional ReadonlyreplacementHash of the transaction mined in its place. Unknown when the RPC refused this transaction outright because its nonce was already used.
OptionalstackReadonlytxHash of this (replaced) transaction.
Thrown by a transaction ceremony when another transaction from the account with the same nonce was mined instead of this one — typically a second submission made while this one was still pending. This transaction can no longer execute.
The record is marked
failurewith codereplaced. Check the replacement (when known) before acting: if it was a resubmission of the same transfer, the transfer has already happened.Subclasses SaltCeremonyError.
Example: Detect a replaced transaction