Docs

rentStorage

Rent storage for the provided farcaster fid.

Example

import { rentStorage } from "thirdweb/extensions/farcaster";
const tx = await rentStorage({
client,
fid,
units,
});

Parameters

Returns

A prepared transaction object to rent the storage.