Add the possibility to get the inputs in the smart contract #512
Labels
core team
Assigned to the core team
feature
New feature request
smart contracts
Involve smart contracts
Milestone
Is your feature request related to a problem?
In order to enhance the scalability of the smart contract, we can use some batching process.
This can work like this: create a smart contract triggered by interval, at the trigger time the smart contract will take all the inputs it got since the last trigger time and doing some actions.
Describe the solution you'd like
So to do this batching process we have to provide the way to get the inputs and all data associated (content, uco transfer ...) in the smart contract.
We can imagine a function like
get_inputs
that return a list with all the inputs of the smart contract. These inputs would have the same attribute as a transaction.Additional context
Epic: #608
The text was updated successfully, but these errors were encountered: