rentStorage

Rent storage for the provided farcaster fid.

Example

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

Parameters

Returns

A prepared transaction object to rent the storage.