Interface IComposition

A Composition in the Open Ordinal API is a single image as a combination of assets. This can be a single image with different assets combined (staged).

Examples of what a Composition can be:

  • Single image composed of multiple assets
  • Animated GIF
  • Rigged of multiple assets
  • PFP (With background),
  • PFP (No background)
  • PFP Theme
  • and so on...
interface IComposition {
    id: string;
    name?: string;
    onExport?: (() => Promise<Export>);
}

Properties

Properties

id: string
name?: string
onExport?: (() => Promise<Export>)