Function acceptSubscriptionTermsTx

  • Name

    acceptSubscriptionTermsTx

    Summary

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

    Returns

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

    Parameters

    • nftId: number

      The NFT Id of the contract to accept the new subscription terms.

    • rentFee: number

      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}`>

Generated using TypeDoc