Documentation
    Preparing search index...
    • Apply a transfer fee to an amount e.g. You send 10000 amount with 100 fee rate. The fee amount will be 100. So the amount after fee will be 9900.

      Parameters

      • amount: The amount to apply the fee to
      • transfer_fee: The transfer fee to apply

      Returns

      • u64: The amount after the fee has been applied

      Parameters

      Returns bigint