Home > @3rdweb/sdk > IpfsStorage > upload
Signature:
upload(data: string | FileOrBuffer, contractAddress?: string, signerAddress?: string): Promise<string>;
| Parameter | Type | Description |
|---|---|---|
| data | string | FileOrBuffer | |
| contractAddress | string | |
| signerAddress | string |
Returns:
Promise<string>