代码拉取完成,页面将自动刷新
检查日期: 2020.03.16
https://github.com/neo-project/neo-cli/releases
1、获取最新的区块高度
curl -X POST -H 'content-type: text/plain;' http://127.0.0.1:10332/ \
-d '{"jsonrpc":"2.0","id":"随便写","method":"getblockcount","params":[]}'
2、根据区块Hash获取交易列表
curl -X POST -H 'content-type: text/plain;' http://127.0.0.1:10332/ \
-d '{"jsonrpc":"2.0","id":"随便写","method":"getblock","params":[区块高度,1]}'
3、根据TxId获取具体信息
curl -X POST -H 'content-type: text/plain;' http://127.0.0.1:10332/ \
-d '{"jsonrpc":"2.0","id":"随便写","method":"getapplicationlog","params":["交易TxId"]}'
type=InvocationTransaction
的交易在第3部中取详细信息vmstate
字段的状态,防止错误入账此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。