crystara-sdk
Version:
Official SDK for Crystara NFT Marketplace
66 lines (65 loc) • 1.75 kB
TypeScript
export interface Chain_LootboxInfoStruct {
id: number;
url: string;
collectionName: string;
creatorAddress: string;
description: string;
collectionUri: string;
lootbox: {
id: number;
price: string;
isActive: boolean;
isWhitelisted: boolean;
requiresKey: boolean;
timeTillActive: string;
timeTillWhitelist: string;
maxSupply: string;
rolled: string;
stock: string;
maxStock: string;
dynamicSeedEnabled: boolean;
receivableRarities: string[];
collectionResourceAddress: string;
createdAt: string;
updatedAt: string;
maxMintsPerWalletEnabled: boolean;
maxMintsPerWalletAmount: number;
maxMintsForWhitelistAmount: number;
currentMintsForWhitelist: number;
royaltyNumerator: number;
royaltyDenominator: number;
royaltyPayee: string;
};
rarities: LootboxRarity[];
twitterHandle: string;
twitterVerified: boolean;
instagramHandle: string;
instagramVerified: boolean;
websiteUrl: string;
gameLink: string;
discordUrl: string;
telegramUrl: string;
isVerified: boolean;
}
export interface LootboxRarity {
name: string;
weight: string;
showOnRoll: boolean;
color: string;
}
export interface LootboxInfo {
price: string;
isActive: boolean;
isWhitelisted: boolean;
requiresKey: boolean;
timeTillActive: string;
timeTillWhitelist: string;
maxSupply: string;
rolled: string;
stock: string;
maxStock: string;
dynamicSeedEnabled: boolean;
receivableRarities: string[];
maxMintsPerWalletEnabled: boolean;
maxMintsPerWalletAmount: number;
}