I'm imagining elements in a queue that correspond to a particular class/struc format being added to a master list by an arbitrary account. Any easy way to create such a list via a contract? I'm also interested in clearing out the list every given time interval, and eliminating specific elements of the list on demand. I'm hoping for something analogous to how one would manipulate an array or std::vector, but maybe that's asking too much. My understanding is that eosio::multi_index is the only way to store persistent data on the eos blockchain. Please correct me if I'm wrong; I'd prefer to use array or std::vector if that's an option.


1 Answer 1


Multi-index is the only option.

An arbitrary account can modify the table through an action sent to the contract for the particular account.

Your Answer

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

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