NONCE_CONFLICT
What NONCE_CONFLICT means, why TransactionError throws it, what to show users and how to fix it in ensforge. Also covers retry safety.
TransactionErrorRetryable
@ensforge/sdk
What happened
The transaction nonce conflicts with another transaction.
What to show users
| Title | Message | Action |
|---|---|---|
| Transaction conflict | Another transaction from your wallet is pending. | Wait for it to confirm, then try again. |
How to fix
Wait for pending transactions to confirm, then retry.
Retry safety
Retrying the same call can succeed (retryable: true).
Actions that throw it
| Action | When |
|---|---|
approval.setDelegate | when confirmation fails or the wallet's nonce is already used. |
approval.setOperator | when confirmation fails or the wallet's nonce is already used. |
approval.setToken | when confirmation fails or the wallet's nonce is already used. |
dns.claim | when confirmation fails or the wallet's nonce is already used. |
dns.setRecords | when confirmation fails or the wallet's nonce is already used. |
migration.migrate | when confirmation fails or the wallet's nonce is already used. |
name.reclaim | when confirmation fails or the wallet's nonce is already used. |
name.setManager | when confirmation fails or the wallet's nonce is already used. |
name.setTtl | when confirmation fails or the wallet's nonce is already used. |
name.transfer | when confirmation fails or the wallet's nonce is already used. |
permission.setRecordAccess | when confirmation fails or the wallet's nonce is already used. |
plan.resume | when confirmation fails or the wallet's nonce is already used. |
plan.send | when confirmation fails or the wallet's nonce is already used. |
primaryName.set | when confirmation fails or the wallet's nonce is already used. |
record.set | when confirmation fails or the wallet's nonce is already used. |
registration.commit | when confirmation fails or the wallet's nonce is already used. |
registration.register | when confirmation fails or the wallet's nonce is already used. |
registration.renew | when confirmation fails or the wallet's nonce is already used. |
registry.attach | when confirmation fails or the wallet's nonce is already used. |
registry.deploy | when confirmation fails or the wallet's nonce is already used. |
registry.setUri | when confirmation fails or the wallet's nonce is already used. |
registry.upgrade | when confirmation fails or the wallet's nonce is already used. |
resolver.create | when confirmation fails or the wallet's nonce is already used. |
resolver.link | when confirmation fails or the wallet's nonce is already used. |
resolver.set | when confirmation fails or the wallet's nonce is already used. |
resolver.upgrade | when confirmation fails or the wallet's nonce is already used. |
role.grant | when confirmation fails or the wallet's nonce is already used. |
role.revoke | when confirmation fails or the wallet's nonce is already used. |
subname.create | when confirmation fails or the wallet's nonce is already used. |
subname.remove | when confirmation fails or the wallet's nonce is already used. |
subname.update | when confirmation fails or the wallet's nonce is already used. |
wrapper.setChildFuses | when confirmation fails or the wallet's nonce is already used. |
wrapper.setFuses | when confirmation fails or the wallet's nonce is already used. |
wrapper.unwrap | when confirmation fails or the wallet's nonce is already used. |
wrapper.wrap | when confirmation fails or the wallet's nonce is already used. |
Any write can fail with TransactionError: it is part of Errors.WriteError.
Catch it
Errors.hasCode("NONCE_CONFLICT") narrows to this error. See Handle errors.
Was this page helpful?