typescript-sdk

Home > @3rdweb/sdk > CommonModuleMetadata

CommonModuleMetadata class

CommonModuleMetadata defines the common properties of a module deployment.

Signature:

export declare class CommonModuleMetadata 

Properties

Property Modifiers Type Description
description?   string (Optional) The description of the module.
externalLink?   string (Optional) An external link for the module.
image?   string | FileOrBuffer (Optional) 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).
name   string The name of the module.