In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "EOS how to query ABI", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "EOS how to query ABI" bar!
Query ABI
Command format: $cleos get code-a ${contract} .abi ${contract}
We can query the .abi of the contract in the block chain, where we can view the list of available operations and their respective message structures.
$cleos get code-a currency.abi currencycode hash: 9b9db1a7940503a88535517049e64467a6e8f4e9e03af15e9968ec89dd794975saving abi to currency.abi$ cat currency.abi {"types": [{"newTypeName": "AccountName", "type": "Name"}], "structs": [{"name": "transfer", "base": "", "fields": {"from": "AccountName", "to": "AccountName" "amount": "UInt64"}, {"name": "account", "base": "", "fields": {"account": "Name", "balance": "UInt64"}], "actions": [{"action": "transfer", "type": "transfer"}] "tables": [{"table": "account", "indextype": "i64", "keynames": ["account"], "keytype": [], "type": "account"}]} Thank you for reading The above is the content of "EOS how to query ABI". After the study of this article, I believe you have a deeper understanding of how to query ABI in EOS, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.