Documentation for agents: an index at /llms.txt, every docs page in one file at /llms-full.txt, and Markdown for any docs page by adding .md to its URL.

Skip to Content
ensforge

TransactionError

What TransactionError means, which codes it carries and how to catch it in ensforge. Lists its fields and every code. Includes how to catch it.

Error class3 codes · @ensforge/sdk

A submitted transaction failed, conflicted with another, or did not confirm in time.

Any write can fail with TransactionError: it is part of Errors.WriteError.

Fields

FieldTypeDescription
hashHex
bundleIdstringEIP-5792 bundle id, when the calls were sent as one batch; check it with getCallsStatus.

Codes

CodeMeaningRetryable
TRANSACTION_REVERTEDThe transaction reverted on-chain.No
RECEIPT_TIMEOUTTimed out waiting for the transaction receipt.No
NONCE_CONFLICTThe transaction nonce conflicts with another transaction.Yes

Catch it

Effect.catchTag("TransactionError", …) or error instanceof Errors.TransactionError. See Handle errors.

Was this page helpful?