Function formatRentFee

  • Name

    formatRentFee

    Summary

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

    Returns

    An object representing the rent fee of a contract.

    Parameters

    • type: "tokens" | "nft"

      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 Rent.RentFeeType

Generated using TypeDoc