Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
test
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
谢昇
test
Commits
8df36274
Commit
8df36274
authored
May 30, 2019
by
谢昇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update cli通用命令使用文档.md
parent
06b139fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
3 deletions
+37
-3
cli通用命令使用文档.md
cli通用命令使用文档.md
+37
-3
No files found.
cli通用命令使用文档.md
View file @
8df36274
**版本:
V6.2.0**
**版本:
V6.2.0**
...
...
@@ -709,9 +709,43 @@ Available Commands:
```
※ stat模块需要在配置文件中,将exec中的enableStat置为true,并且节点从0开始同步。
## 16.1 stat exec_balance 查询指定资产在指定合约下的余额和冻结
`cli stat exec_balance -a 地址 -e 资产执行器名称(可选) -x 指定合约地址(可选) -t 指定高度(可选) -s 资产名(可选)`
```
{
"totalAmount": "60645655.9370",
"frozenAmount": "60644850.0000",
"activeAmount": "805.9370",
"execBalances": [
{
"execAddr": "16htvcBNSEA7fZhAdLJphDwQRQJaHpyHTp",
"frozen": "60644850.0000",
"active": "805.8870"
},
{
"execAddr": "1BwqcsyB9BpZawRwrbn8GNHJJN4LKg6pRo",
"frozen": "0.0000",
"active": "0.0500"
}
]
}
```
-e后的资产执行器名称目前可设为coins/token/paracross,默认空为coins;
-x指定的是合约地址,可通过查询合约名称获取;
-t指定高度,默认空为-1,最新高度;
-s指定资产名称,默认空为bty,若为token可具体指定。
## stat miner 获取指定地址从指定区块开始的挖矿信息
TBD
## 16.2 stat total_coins 获取全网所有coins的交易数和总量
`cli stat total_coins`
```
{
"txCount": 3282974,
"accountCount": 0,
"totalAmount": "374511302.9999"
}
```
# 17.ticket模块
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment