typescript-sdk

Home > @3rdweb/sdk > CommonModuleMetadata > image

CommonModuleMetadata.image property

An image for the module.

If the image is a File or Buffer, it will be uploaded to IPFS. If the image is a string, it will be used as-is (in case you already uploaded it to IPFS and the property is the IPFS hash uri).

Signature:

image?: string | FileOrBuffer;