Skip to Content
CLI介绍

TronScan CLI

基于 TronScan API  的命令行工具;除全局命令 setup 外,实现 86ts <command> 查询子命令,覆盖代币、搜索、概览、区块、账户、治理、交易、统计、合约、安全、深度分析、稳定币等场景。

安装

通过 npm 全局安装

npm install -g @tronscanteam/cli

安装后即可在任意目录使用全局命令 ts,输入 ts setup 设置 API Key,输入 ts help 查看全部命令。

配置 API Key

API Key 申请:https://docs.tronscan.org/zh/api/api-keys 

ts setup YOUR_API_KEY # 替换为你的真实 API Key

升级与卸载

npm update -g @tronscanteam/cli npm uninstall -g @tronscanteam/cli

依赖

安全边界

TronScan CLI 是基于 TronScan API 的只读数据查询工具。它不会管理钱包、读取私钥、签名消息、广播交易或提交交易。

最后更新于: