typescript-sdk

Home > @3rdweb/sdk > IStorage > get

IStorage.get() method

Fetches data from storage. This method does not handle any deserialization. Its up to the caller to determine what the type of the data is.

Signature:

get(hash: string): Promise<string>;

Parameters

Parameter Type Description
hash string The Hash of the file to fetch

Returns:

Promise<string>