• Reverse the application of a transfer fee to an amount e.g. You received 9900 amount with 100 fee rate. The fee amount will be 100. So the amount before fee will be 10000.

    Parameters

    • amount: The amount to reverse the fee from
    • transfer_fee: The transfer fee to reverse

    Returns

    • u64: The amount before the fee has been applied

    Parameters

    Returns bigint