SuperAPI AI 工具集

algorand

数据与分析

查看项目

更新于 10-16 00:24

技能介绍

用途:该技能用于让智能体与 Algorand 区块链平台交互,管理数据、记录并自动化工作流,适用于需要访问 Algorand 数据的场景。

主要能力:涵盖 Account、Asset、Transaction、Block 等对象;可发现并运行预置 action,也可通过 Membrane 代理直接向 Algorand API 发送请求。Membrane 自动处理认证和凭证刷新。

使用方式:

  1. 安装 CLI:npm install -g @membranehq/cli@latest
  2. 登录:membrane login --tenant --clientName=<agentType>;无头环境会打印授权 URL,完成后执行 membrane login complete <code>。
  3. 建立连接:membrane connection ensure "https://developer.algorand.org/" --json,若状态为 BUILDING 可用 npx @membranehq/cli connection get <id> --wait --json 轮询。
  4. 搜索 action:membrane action list --connectionId=CONNECTION_ID --intent "QUERY" --limit 10 --json
  5. 运行 action:membrane action run <actionId> --connectionId=CONNECTION_ID --json,参数用 --input '{"key": "value"}'。
  6. 代理请求:membrane request CONNECTION_ID /path/to/endpoint,支持 -X、-H、-d、--json、--rawData、--query、--pathParam 等选项。

适用场景:构建去中心化应用、金融解决方案,或需要读取与操作 Algorand 链上数据的自动化流程。

限制:官方文档见 https://developer.algorand.org/docs/;具体可用 action、收费与价格、速率限制等资料暂未提供。