Function formatRentFee

  • Parameters

    • type: "nft" | "tokens"

      The type of rent fee. Can be either 'tokens' or 'nft'.

    • value: number

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

    Returns RentFeeType

    An object representing the rent fee of a contract.

    Name

    formatRentFee

    Summary

    Returns an object representing a rent fee in either tokens or NFT format.

Generated using TypeDoc