Function changeSubscriptionTerms

  • Name

    changeSubscriptionTerms

    Summary

    Changes the subscription terms for subscription contracts.

    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.

    • keyring: IKeyringPair

      Account that will sign the transaction.

    • waitUntil: WaitUntil

      Execution trigger that can be set either to BlockInclusion or BlockFinalization.

    Returns Promise<ContractSubscriptionTermsChangedEvent>

    ContractSubscriptionTermsChangedEvent Blockchain event

Generated using TypeDoc