xlayer_call
Execute JSON-RPC methods on the X Layer blockchain to query data like block numbers, balances, and transaction receipts.
Instructions
[L:WRITE] CAT:[链上] | → 请先调用 agent_catalog
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | JSON-RPC 方法名。常用: eth_blockNumber, eth_getBlockByNumber, eth_getBalance, eth_getTransactionReceipt, eth_call, eth_getLogs | |
| params | No | JSON-RPC 参数数组,JSON 字符串。如 '[\"0xabc123\", false]'。留空表示传空数组 |