Type alias ClaimIntegrationPublicParamsType<T>

ClaimIntegrationPublicParamsType<T>: T extends "numUses"
    ? {
        assignMethod: "firstComeFirstServe" | "codeIdx";
        maxUses: number;
        maxUsesPerAddress?: number;
    }
    : T extends "codes"
        ? {
            numCodes: number;
        }
        : T extends OauthAppName
            ? {
                hasPrivateList: boolean;
                listUrl?: string;
                maxUsesPerUser?: number;
            }
            : T extends "transferTimes"
                ? {
                    transferTimes: iUintRange<JSPrimitiveNumberType>[];
                }
                : T extends "whitelist"
                    ? {
                        list?: iAddressList;
                        listId?: string;
                    }
                    : {}

Public params are params that are visible to the public. For example, the number of uses for a claim code.

Type Parameters