Home > @3rdweb/sdk > IStorage > uploadMetadata
Uploads metadata to IPFS
Signature:
uploadMetadata(metadata: MetadataURIOrObject, contractAddress?: string, signerAddress?: string): Promise<string>;
Parameter | Type | Description |
---|---|---|
metadata | MetadataURIOrObject | The metadata to be uploaded. |
contractAddress | string | Optional. The contract address the data belongs to. |
signerAddress | string | Optional. The address of the signer. |
Returns:
Promise<string>