Type alias JsonMetadata<Uri>

JsonMetadata<Uri>: {
    name?: string;
    symbol?: string;
    description?: string;
    seller_fee_basis_points?: number;
    image?: Uri;
    animation_url?: Uri;
    external_url?: Uri;
    attributes?: {
        trait_type?: string;
        value?: string;
        [key: string]: unknown;
    }[];
    properties?: {
        creators?: {
            address?: string;
            share?: number;
            [key: string]: unknown;
        }[];
        files?: {
            type?: string;
            uri?: Uri;
            [key: string]: unknown;
        }[];
        [key: string]: unknown;
    };
    collection?: {
        name?: string;
        family?: string;
        [key: string]: unknown;
    };
    [key: string]: unknown;
}

Type Parameters

  • Uri = string

Type declaration

  • [key: string]: unknown
  • Optional name?: string
  • Optional symbol?: string
  • Optional description?: string
  • Optional seller_fee_basis_points?: number
  • Optional image?: Uri
  • Optional animation_url?: Uri
  • Optional external_url?: Uri
  • Optional attributes?: {
        trait_type?: string;
        value?: string;
        [key: string]: unknown;
    }[]
  • Optional properties?: {
        creators?: {
            address?: string;
            share?: number;
            [key: string]: unknown;
        }[];
        files?: {
            type?: string;
            uri?: Uri;
            [key: string]: unknown;
        }[];
        [key: string]: unknown;
    }
    • [key: string]: unknown
    • Optional creators?: {
          address?: string;
          share?: number;
          [key: string]: unknown;
      }[]
    • Optional files?: {
          type?: string;
          uri?: Uri;
          [key: string]: unknown;
      }[]
  • Optional collection?: {
        name?: string;
        family?: string;
        [key: string]: unknown;
    }
    • [key: string]: unknown
    • Optional name?: string
    • Optional family?: string

Generated using TypeDoc