5

There are two issue on github: this which refers to this. According to these two links, you cannot access directly the transaction id, but the id is a calculated value, so you can compute it in your smart contract. From the second link, you can get this code: void test_transaction::test_read_transaction() { using namespace eosio; checksum256 h; ...


3

Here's an updated example using EOSIO CDT 1.6 code syntax checksum256 get_trx_id() { size_t size = transaction_size(); char buf[size]; size_t read = read_transaction( buf, size ); check( size == read, "read_transaction failed"); return sha256( buf, read ); } Afterwards you can include get_trx_id method into other parts of your smart ...


1

Please see the documentation here: https://developers.eos.io/manuals/eos/latest/nodeos/plugins/chain_api_plugin/api-reference/index#operation/get_account You must send the account name in POST request (not a GET) {"account_name": "nameofaccount"} Example: curl -d '{"account_name": "hackerdarwin"}' http://api.eosn.io/...


Only top voted, non community-wiki answers of a minimum length are eligible