Home > @3rdweb/sdk > IStorage > getUploadToken
Fetches a one-time-use upload token that can used to upload a file to storage.
Signature:
getUploadToken(contractAddress: string): Promise<string>;
Parameter | Type | Description |
---|---|---|
contractAddress | string |
Returns:
Promise<string>