-
Notifications
You must be signed in to change notification settings - Fork 144
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
No fields for transaction Fee #590
Comments
Hi @nagarajmanjunath , @b00f Please provide more information and explanations (if possible, provide a scenario as well) |
Thank you for your interest in this issue. Transaction fees in the Pactus blockchain are calculated using a percentage-based fee model. You can learn more about this model here: https://pactus.org/learn/transaction/fee/. (It is a new idea to manage the transaction pool better). Currently, when users create transactions with their wallets, the fee is calculated and set automatically). Users are not required to input it manually, even we have an option for manual fee input in the CLI. For some offline queries, it would be beneficial to have an API that calculates transaction fees based on two parameters:
We might have an API similar to: |
@b00f |
An Idea: So this PR, hits two birds with one stone: make wallet less knowledgeable and add a new API for fee calculation. @ZigBalthazar What is your thought? |
Describe the problem you'd like to have solved
Cannot find
transaction fee
details in API or gRPC CallDescribe the ideal solution
We need to create/add API/fee to calculate the total transaction fee.
The text was updated successfully, but these errors were encountered: