EOSIO / eosjs

General purpose library for the EOSIO blockchain.
http://eosio.github.io/eosjs
MIT License
1.43k stars 463 forks source link

Get Transaction information must provide block number #822

Closed mutobui closed 3 years ago

mutobui commented 3 years ago

Why get transaction information must provide block number? Is there any convenient way to do that? I'm running Cleos version 2.0.9,

mrcpol commented 3 years ago

Hi @mutobui Can you elaborate on your issue? From the doc about getting transaction here, you can get processed.refBlockNum.

bradlhart commented 3 years ago

It seems that you are using cleos, not eosjs. You might want to reach out to the eos codebase for assistance with cleos if you are still having issues. Closing this issue since this is the eosjs codebase.

However, what @mutobui has posted might help. Additionally, after sending the transaction at first, you should also receive this information from cleos.