Function convertMarketplaceFee

  • Parameters

    • fee: Noop | Remove | SetFeeType

      The fee to format : It can only be an CommissionFeeType or ListingFeeType.

    Returns Promise<Noop | Remove | SetFeeType>

    The formatted fee.

    Name

    convertMarketplaceFee

    Summary

    Checks the type fee and format it accordingly. Numbers are formatted into BN. Percentages are formatted in Permill.

Generated using TypeDoc