Open
Description
Describe the feature you'd like
This has been requested multiple times.
In Eternl wallet, if you input a lovelace amount to send, and if your wallet has many tokens, it will calculate the required lovelace for all tokens and fees required.
in Mesh, we should have a function to calculate fees. This is useful for users to know how much lovelace is required in total. This is also useful as a tx validation.
Is your feature request related to a problem? Please describe.
Maybe users have 10 ADA, and decided to send 9 ADA. this tx will fail as lovelace is needed for the tokens, and min utxos.
Describe the solution you'd like
several functions to provide more checks for the given tx. calculating the fees required. This amount will become negative if the inputs do not have enough lovelace to cover fees and not enough to cover min utxo.
Additional context
No response
Would you be willing to implement it?
- Yes, I will implement it.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Not Started