typescript-sdk

Home > @3rdweb/sdk > Module > getMetadata

Module.getMetadata() method

Get the metadata of the contract.

Signature:

getMetadata(resolveUrls?: boolean): Promise<ModuleMetadata>;

Parameters

Parameter Type Description
resolveUrls boolean Whether to resolve the urls in the metadata to a gateway.

Returns:

Promise<ModuleMetadata>