Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How does EOS cleos get transaction get the deal?

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "how to get a transaction from EOS cleos get transaction". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to get a deal from EOS cleos get transaction".

Get the deal through transaction_id

Command format: $cleos get transaction ${transaction_id}

By loading account_history_api_plugin in nodeos, we can use transaciton_id to query specific transactions

Cleos get transaction eb4b94b72718a369af09eb2e7885b3f494dd1d8a20278a6634611d5edd76b703 {"transaction_id": "eb4b94b72718a369af09eb2e7885b3f494dd1d8a20278a6634611d5edd76b703", "processed": {"refBlockNum": 2206, "refBlockPrefix": 221394282, "expiration": "2017-09-05T08:03:58", "scope": ["inita", "tester"], "signatures": ["1f22e64240e1e479eee6ccbbd79a29f1a6eb6020384b4cca1a958e7c708d3e562009ae6e60afac96f9a3b89d729a50cd5a7b5a7a647540ba1678831bf970e83312"], "messages": [{"code": "eos" "type": "transfer", "authorization": [{"account": "inita", "permission": "active"}], "data": {"from": "inita", "to": "tester", "amount": 1000, "memo": ""} "hex_data": "000000008040934b00000000c84267a1e80300000000000000"}], "output": [{"notify": [{"name": "tester", "output": {"notify": [], "sync_transactions": [], "async_transactions": []}} {"name": "inita", "output": {"notify": [], "sync_transactions": [], "async_transactions": []}], "sync_transactions": [] "async_transactions": []}]} get the transaction through the account

Command format: $cleos get transaction ${account}

We can also check the list of transactions executed by an account from the most recent account.

$cleos get transactions inita [{"transaction_id": "eb4b94b72718a369af09eb2e7885b3f494dd1d8a20278a6634611d5edd76b703",...}, {"transaction_id": "6acd2ece68c4b86c1fa209c3989235063384020781f2c67bbb80bc8d540ca120",...},...] Thank you for your reading, the above is the content of "how to get transactions in EOS cleos get transaction". After the study of this article, I believe you have a deeper understanding of how to obtain transactions in EOS cleos get transaction, 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.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report