Schemas

User Schema

export type TAlturaUser = {
  address: string;
  name: string;
  bio?: string;
  profilePic?: string;
  socialLink?: string;
  profilePicUrl?: string;
};

Items Schema

export type TAlturaItem = {
  name: string;
  description: string;
  properties: {
    name: string;
    value: string;
    static: boolean;
  }[];
  chainId: number;
  royalty: number;
  creatorAddress: string;
  mintDate: string;
  stackable: boolean;
  supply: number;
  maxSupply: number;
  image: string;
  imageHash: string;
  imageUrl: string;
  fileType: string;
  isVideo: boolean;
  otherImageVisibility: string;
  holders: number;
  listers: number;
  likes: number;
  views: number;
  isListed: boolean;
  mostRecentListing: string;
  cheapestListingPrice: number;
  cheapestListingCurrency: string;
  cheapestListingUSD: number;
  nsfw: boolean;
  isVerified: boolean;
  hasUnlockableContent: boolean;
  imageIndex: number;
  imageCount: number;
  totalListings: number;
};

Collection Schema

Event Schema

Last updated