0

A EOS C++ smart contract can have code that query and iterate through the blockchain, to get the actions and transactions and related data?

In eos.js you can do eos.getActions(accountName) but inside smart contract in c++ i don't know if it is possible.

2

Contracts may query tables, but not arbitrary transactions. e.g. a contract can get user balances by querying token tables.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.