getStorageRegistry

Retrieves the StorageRegistry contract.

Example

import { getStorageRegistry } from "thirdweb/extensions/farcaster";
const storageRegistry = await getStorageRegistry({
client,
});
function getStorageRegistry(
): Readonly;

Parameters

The thirdweb client and an optional custom chain.

Type

let options: { chain?: Chain; client: ThirdwebClient };

Returns

let returnType: Readonly;

The StorageRegistry contract instance.