bitbadgesjs-sdk - v0.22.7
    Preparing search index...

    Interface iMustOwnToken<T>

    interface iMustOwnToken<T extends NumberType> {
        amountRange: iUintRange<T>;
        collectionId: string;
        mustSatisfyForAllAssets: boolean;
        overrideWithCurrentTime: boolean;
        ownershipCheckParty?: string;
        ownershipTimes: iUintRange<T>[];
        tokenIds: iUintRange<T>[];
    }

    Type Parameters

    Index

    Properties

    amountRange: iUintRange<T>

    The range of amounts the user must own (min to max).

    collectionId: string

    The ID of the collection.

    mustSatisfyForAllAssets: boolean

    If true, the user must meet ownership requirements for all specified tokens; else, must meet requirements for any single token.

    overrideWithCurrentTime: boolean

    If true, override ownershipTimes with the current time.

    ownershipCheckParty?: string

    The party to check ownership for. Options are "initiator", "sender", or "recipient". Defaults to "initiator" if empty.

    ownershipTimes: iUintRange<T>[]

    The time ranges during which the user must own the tokens.

    tokenIds: iUintRange<T>[]

    The token IDs the user must own.