There should be an estimateFees function like prior to Ethereum transaction submission:
Input should include:
- nodes and edges,
- createdAt
- expireAt
- maxExecution
Output should include:
- Gas fee estimated based on ContractWrite and LoopNodeContractWrite which will need to pay for EVM transaction fees
- Automation fee esitmated based on trigger type and task duration
- First-time smart wallet AA contract creation fees.
- Any promotion of fee reduction.