Function formatCancellationFee

  • Parameters

    • type: "nft" | "fixed" | "none" | "flexible"

      The type of cancellation fee. Can be either 'fixed', 'flexible', 'nft' or 'none'.

    • Optional value: number

      The value of the rent fee. If type is 'fixed' or 'flexible' value refers to a balance amount. If type is 'nft' value refers to the NFT id.

    Returns CancellationFeeType

    An object representing the rent fee of a contract.

    Name

    formatCancellationFee

    Summary

    Returns an object representing a cancellation fee in either fixed, flexible or NFT format.

    type: "fixed" | "flexible" | "nft" | "none",

Generated using TypeDoc