tx-status
Original:🇺🇸 English
Translated
Check the status of a transaction hash, get receipt details, and view the block explorer link. Use when you have a transaction hash and need to verify if it succeeded or failed, or to provide a proof link to the user.
11installs
Added on
NPX Install
npx skill4agent add fibrous-finance/fibx-skills tx-statusTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Transaction Status Verification
Use this skill to fetch on-chain data for a given transaction hash. This is critical for verifying the outcome of or operations.
sendtradeHard Rules (CRITICAL)
- Verification: After performing a or
send, you MUST use this skill if the user asks "did it go through?" or "show me the link".trade - Chain Specificity: If the transaction was on a specific chain (e.g., Monad), you MUST verify the status on that same chain using the flag.
--chain
Usage
Check Status
bash
npx fibx@latest tx-status <hash> [--chain <chain>]- : The transaction hash (starting with
<hash>).0x - : Optional. The network the transaction was sent on (
--chain <chain>,base,citrea,hyperevm). Defaults tomonad.base
Examples
Scenario 1: Check a Base transaction (Default)
Input: "Check status of 0x123...456"
bash
npx fibx@latest tx-status 0x123...456Scenario 2: Check a Monad transaction
Input: "Verify tx 0xabc...def on Monad"
bash
npx fibx@latest tx-status 0xabc...def --chain monadJSON Output (for programmatic parsing)
Use to get a machine-readable response:
--jsonbash
npx fibx@latest tx-status 0x123...456 --jsonOutput Schema:
json
{
"status": "success", // "success" or "reverted"
"blockNumber": "12345", // Block number where included
"gasUsed": "21000", // Gas used
"explorerLink": "https://..." // URL to block explorer
}Error Handling
- Transaction not found: If the TX is not found, ensure you are querying the correct chain.
- Pending: The CLI may hang or return "pending" if the tx is still in the mempool.