Function changeSubscriptionTermsTx

  • Parameters

    • nftId: number

      The NFT Id of the contract to change the subscription terms.

    • rentFee: number | BN

      The fee to rent the contract: a token amount

    • period: number

      The period of subscription before renewal

    • maxDuration: null | number = null

      The contract duration (in block). Optional, default is null.

    • isChangeable: boolean

      A boolean to make the contract updatable.

    Returns Promise<`0x${string}`>

    Unsigned unsubmitted Change-Contract-Subscription-Terms Transaction Hash. The Hash is only valid for 5 minutes.

    Name

    changeSubscriptionTermsTx

    Summary

    Creates an unsigned unsubmitted Change-Contract-Subscription-Terms Transaction Hash for an NFT.

Generated using TypeDoc