← 返回
数据分析 中文

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.
允许用户通过提交 TxId 检查区块链交易状态。查询 AOX 交易 API 并返回易读结果。
charles-lpd
数据分析 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 500
下载
💾 6
安装
1
版本
#latest

概述

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

  1. TxId format: Must start with 0x or valid AOX format.
  2. Error handling: If the TxId is invalid or not found, the API will return an error:

{

"error": "Transaction not found"

}

  1. Confirmations: Include confirmNum to show network confirmation count.
  2. No API key required: Public endpoint, no authentication needed.
  3. JSON vs human-readable: The agent should format the JSON into readable message.
  4. Amount calculation: amount = quantity / (10^decimals)
  5. Status mapping:
    • waiting → ⏳ Waiting
    • success → ✅ Success
    • failed → ❌ Failed
  6. 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

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 01:49 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 366 📥 139,963

check-aox-info

charles-lpd
查看 AO 网络 跨链,支持哪些 Token, 支持哪些链? 目前关闭或开启了哪条链的充值或提现功能。
★ 0 📥 568
data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 198 📥 64,859