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.

1 Answer 1

2

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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