check-hymx-transaction

Check transaction status on Hymatrix bridge

MIT-0 · Free to use, modify, and redistribute. No attribution required.
0 · 26 · 0 current installs · 0 all-time installs
MIT-0
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
medium confidence
Purpose & Capability
The skill is named and described as a Hymatrix bridge transaction checker and includes a single script that issues an HTTP GET to a Hymatrix bridge API endpoint. Required files and instructions align with that purpose.
Instruction Scope
SKILL.md and script/index.js accept input via stdin (tx id/hash), call the remote bridge API, and return JSON. The instructions do not ask the agent to read unrelated files, environment variables, or send data to other endpoints.
Install Mechanism
There is no install spec (instruction-only plus an included script), so nothing is written to disk beyond the provided script. Note: the script performs a network request to a remote endpoint (see below).
Credentials
The skill requests no environment variables, credentials, or config paths. That is proportionate for a read-only transaction status checker.
Persistence & Privilege
The skill does not request always:true or any elevated persistent privileges and does not modify other skills or system-wide settings.
Assessment
This skill behaves as advertised: it will send whatever tx id/hash you provide to https://api-bridgescan-dev.hymatrix.com/bridgeTx/<txid> and return the JSON response. Before installing, consider: (1) the endpoint is a '-dev' host (a development/staging API) and the package has no homepage or known source owner — verify you trust that domain/owner; (2) no credentials are requested, but your transaction IDs (which may be sensitive or linkable to you) will be transmitted to the remote service; (3) the script relies on Node's fetch API — it may fail on older Node runtimes. If you want stronger assurance, ask the publisher for a production API endpoint, a homepage/repo, or a signed release.

Like a lobster shell, security has layers — review code before you run it.

Current versionv1.0.0
Download zip
latestvk9702tcgwx53923wyaw8btt8t58360f7

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

SKILL.md

Multi Chain Transaction Checker

Trigger

当用户提供交易 ID 或哈希值并询问以下信息时,请使用此技能:

Input

{ "tx_hash": "transaction hash" }

Output

{
  "rawId": 594,
  "createdAt": "2026-03-17T15:00:34.835Z",
  "updatedAt": "2026-03-17T15:00:34.835Z",
  "txType": "burn",
  "ChainType": "aostest",
  "TokenId": "0syT13r0s0tgPmIed95bJnuSqaD29HQNN8D3ElLSrsc",
  "WrappedTokenId": "SX8LisFGf3lqN1HJMa15F3FawZUdI4e8FRoE2EeoWCo",
  "txId": "gXZ8rxlGsj0yebaNXvBT9jNp68YCSfo40l6suH7tz_w",
  "sender": "0x578Dde4A4e00FF74c31E3645C28f06bE35D8aDEA",
  "recipient": "XWDOELeht4sdZ1HggZHM95OjEQIzTvoTnoJVt_u6Z9k",
  "blockHeight": 0,
  "amount": "105951171869250",
  "fee": "0",
  "feeRecipient": "0x72365DA62A3F9652a61bD11F2069AC41FBb5Bd8E",
  "status": "waiting",
  "targetChainTxHash": "",
  "approveTx": ""
}

字段类型

export interface BridgeHymxListItem {
  rawId: number
  createdAt: string
  updatedAt: string
  txType: 'burn' | 'mint'
  ChainType: string
  TokenId: string
  WrappedTokenId: string
  txId: string
  sender: string
  recipient: string
  blockHeight: number
  amount: string
  fee: string
  feeRecipient: string
  status:
    | 'success'
    | 'unPackaged'
    | 'waiting'
    | 'confirmed'
    | 'failed'
    | 'submintAosFailed'
    | 'notOnChain'
  targetChainTxHash: string
  errMsg?: string
  userAddress?: string
}

子段解释:

  • rawId: 游标
  • createdAt: 创建交易的时间。
  • updatedAt: 每当 status 改变会立即更新的时间。
  • txType: 交易类型 mint代表充值 burn 代表提现。
  • ChainType: txType等于 mint 代表 ChainType链到 hymatrix 网络,txType等于 burn代表 hymatrix 网络 到 ChainType链。
  • TokenId: 存入/铸造 的 tokenId。注意 info 提示
  • WrappedTokenId: 提取/销毁 的 tokenId 。注意 info 提示
  • txId: 交易哈希。
  • sender: 发起人的地址。
  • recipient: 收款人地址。
  • amount: 交易金额,若fee不为空,则收款账户需要缴纳手续费代表 amount - fee = 实际到账金额。
  • fee: 手续费。
  • feeRecipient:手续费收款地址。
  • status: 当前交易的状态,根据下方 info 中 status 返回给用户。
  • targetChainTxHash: 目标链的哈希。
  • errMsg: 当交易失败时,该字段回返回失败的原因。

:::info

  • fromToken/toToken TokenIdWrappedTokenId 要根据交易类型拍判断谁是(存入/铸造)或(提取/销毁),交易类型 txType 确定资产流向——若为 mint (存入/铸造),原始资产为 TokenId,目标资产为 WrappedTokenId;若为非 mint (提取/销毁),则方向相反。

  • status: Agent 需根据 txType 判定交易阶段——若为 mint (存入),unPackaged 为待上链,waiting/confirmed 为待收款 (wrapping);若为非 mint (提取),unPackaged 为待燃烧,waiting 为待执行。其余状态(如 success, failed, packageing)直接映射至对应的多语言标签。 :::

Files

2 total
Select a file
Select a file to preview.

Comments

Loading comments…