Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation for how to use Return type and Read only transactions to create consistent readable state #114

Open
theblockstalk opened this issue May 4, 2023 · 0 comments

Comments

@theblockstalk
Copy link

Documetn how actions can return a type

The docs currently do not show how the ACTION_RETURN_TYPE feature is used to return an object during smart contract execution, either to return it during an API call, or during an inline_action call

I think it should be here: https://docs.eosnetwork.com/docs/latest/smart-contracts/advanced_concepts/

Document how to use query only transaction to return a type

One of the use cases for "Read-Only Transactions" in combination with ACTION_RETURN_TYPE is documented here: EOSIO/eos#9822

It would be good if the documentation could also show how to set up a query-only API call that can be used to return consistent stateful information from several tables at once using these two features

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant