Skip to content

AccountAssetCreate app components should get the estimation fees from API and not based on property #3720

@ioBanker

Description

@ioBanker

Problem:

Under account asset creation component; the user is expecting to see the asset creation estimation fee; the screen is showing a wrong estimation fees for the user while creating a sub asset.

Conclusion:

While the user is creating an assets using the user account page app/components/Account/AccountAssetCreate.jsx; the page will use the function estimateFee to calculate the estimation fees of the asset creation operation; this function is located under app/lib/common/trxHelper.js‎; the function is using static and outdated methods and formulas for calculating the currentFees.

Suggestion:

To use the core get_required_fees database API for the function estimateFee.

Easiest way perhaps would be replacing the entire function's code here

function estimateFee(op_type, options, globalObject, data = {}) {
to be base on get_required_fees database API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions