SimpleCollectActionConfig: {
    amount?: Erc20Amount;
    collectLimit?: number;
    endsAt?: Date;
    followerOnly: boolean;
    recipient?: EvmAddress;
    referralFee?: number;
    type: SIMPLE_COLLECT;
}

Type declaration

  • Optional amount?: Erc20Amount

    The collect fee amount.

    Use Amount.erc20 with instances Erc20 to create an instance of this type.

    Default Value

    no collect fee
    
  • Optional collectLimit?: number

    The maximum number of NFT to mint.

    Default Value

    no limit
    
  • Optional endsAt?: Date

    The date when the collect ends.

    Default Value

    no end date
    
  • followerOnly: boolean

    Whether only followers can collect.

  • Optional recipient?: EvmAddress

    The recipient of the collect fee.

    You MUST provide a recipient if you provide an amount.

  • Optional referralFee?: number

    The referral reward as a percentage.

    This is the maximum referral fee percentage that can be used to reward the referrer. The referrers are determined by the FE app used when this simple collect open action is executed.

    Number between 1-100 with up to 2 decimals of precision (e.g. 10.5 for 10.5%)

    Default Value

    no referral reward
    
  • type: SIMPLE_COLLECT