Class Asset

An Asset in the Open Ordinal API is a single asset the ordinal expose. This can be a single image or different pars a image consists of. If you expose multiple assets to compose a Composition eaach of these are considered an Asset.

An Asset is defined when the ordinal want to expose them. One reason to expose these is to give the user of an ordinal the option to bring these to other platforms (i.e. games, remixing and other).

Constructors

Properties

Methods

Constructors

Properties

id?: string
name?: string
data?: (() => Promise<any>)

Methods