Console ↗

Asset

Map a name such as <photo> to these image bytes, then reference that name from state or instructions.

Declaration

interface Asset { type: 'image'; format: 'png' | 'jpg'; data_base64: string }