check-transaction
/install check-transaction
Check Transaction Skill
This skill allows users to check the status of a blockchain transaction by providing a TxId. It queries the AOX transaction API (https://api.aox.xyz/tx/[txid]) and returns a human-readable summary of the transaction.
API Endpoint
URL: https://api.aox.xyz/tx/[txid]
Method: GET
Authentication: None required
Example Request:
curl -s "https://api.aox.xyz/tx/ZKmbSYqAYGMJKVldJ6nqDG_wT9SRBy44YDa6XNrfIUs"
Example JSON Response:
{ "rawId": 1773112604581, "createdAt": "2026-03-10T03:16:44.581Z", "updatedAt": "2026-03-10T03:22:18.7Z", "txType": "mint", "chainType": "arweave", "txId": "ZKmbSYqAYGMJKVldJ6nqDG_wT9SRBy44YDa6XNrfIUs", "sender": "kRdpOYaT5pUUiNFDaUymqO1VcybZpAfNPnNdls-A134", "recipient": "kRdpOYaT5pUUiNFDaUymqO1VcybZpAfNPnNdls-A134", "quantity": "25100000000000", "symbol": "AR", "decimals": 12, "blockHeight": 1873352, "fromTokenId": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "toTokenId": "xU9zFkq3X2ZQ6olwNVvr1vUWIjc3kXTWr7xKQD6dh10", "fee": "0", "feeRecipient": "", "confirmNum": 10, "confirmRange": -1670, "status": "waiting", "targetChainTxHash": "" }
Skill Usage
User Queries:
Example Input: "Check transaction ZKmbSYqAYGMJKVldJ6nqDG_wT9SRBy44YDa6XNrfIUs"
Output: Returns status, amount, sender, receiver, confirmations, and timestamp
Example Input: "Status of TxId ZKmbSYqAYGMJKVldJ6nqDG_wT9SRBy44YDa6XNrfIUs"
Output: Structured transaction info
CLI Example:
Query a transaction
curl -s "https://api.aox.xyz/tx/ZKmbSYqAYGMJKVldJ6nqDG_wT9SRBy44YDa6XNrfIUs"
Sample Output (Human-Readable):
Transaction Status: ⏳ Waiting TxId: ZKmbSYqAYGMJKVldJ6nqDG_wT9SRBy44YDa6XNrfIUs Type: mint Chain: arweave From: kRdpOYaT5pUUiNFDaUymqO1VcybZpAfNPnNdls-A134 To: kRdpOYaT5pUUiNFDaUymqO1VcybZpAfNPnNdls-A134 Amount: 25.1 AR (quantity: 25100000000000, decimals: 12) Block Height: 1873352 From Token ID: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA To Token ID: xU9zFkq3X2ZQ6olwNVvr1vUWIjc3kXTWr7xKQD6dh10 Fee: 0 Confirmations: 10 Confirm Range: -1670 Target Chain Tx Hash: (empty) Created At: 2026-03-10T03:16:44.581Z Updated At: 2026-03-10T03:22:18.7Z
Notes & Best Practices
- TxId format: Must start with 0x or valid AOX format.
- Error handling: If the TxId is invalid or not found, the API will return an error:
{ "error": "Transaction not found" }
- Confirmations: Include confirmNum to show network confirmation count.
- No API key required: Public endpoint, no authentication needed.
- JSON vs human-readable: The agent should format the JSON into readable message.
- Amount calculation: amount = quantity / (10^decimals)
- Status mapping:
- waiting → ⏳ Waiting
- success → ✅ Success
- failed → ❌ Failed
- Target chain hash: If targetChainTxHash exists, display for cross-chain info.
References
- AOX Transaction API: https://api.aox.xyz/docs
- Example AO blockchain explorer: https://aox.xyz
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install check-transaction - 安装完成后,直接呼叫该 Skill 的名称或使用
/check-transaction触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
check-transaction 是什么?
Allows users to check the status of a blockchain transaction by submitting a TxId. Queries the AOX transaction API and returns human-readable results. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 251 次。
如何安装 check-transaction?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install check-transaction」即可一键安装,无需额外配置。
check-transaction 是免费的吗?
是的,check-transaction 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
check-transaction 支持哪些平台?
check-transaction 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 check-transaction?
由 charles-lpd(@charles-lpd)开发并维护,当前版本 v1.0.0。