typescript-sdk

Home > @3rdweb/sdk > IStorage > getUploadToken

IStorage.getUploadToken() method

Fetches a one-time-use upload token that can used to upload a file to storage.

Signature:

getUploadToken(contractAddress: string): Promise<string>;

Parameters

Parameter Type Description
contractAddress string  

Returns:

Promise<string>