@explorer:tx.status
Whether a transaction succeeded: true on success, false when it reverted. Errors while the transaction is still pending.
⚗️ Experimental — available at next.evmcrispr.com.
Returns: bool
Syntax
Section titled “Syntax”@explorer:tx.status(hash chain?)Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
hash | bytes32 | Transaction hash |
[chain] | chain | Chain to look on (default: current chain) |
Examples
Section titled “Examples”# Check that a transaction succeededset $ok @explorer:tx.status(0x16df2e878e23ff261844fc9252f6c8bfcd4cb69f9f80895c6a2f01032b228e13)See Also
Section titled “See Also”- @explorer:tx.gasUsed — gas used by a transaction
- @explorer:tx — full transaction summary